gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

Once I have docker running

Open dorcu opened this issue 2 years ago • 5 comments

Once I have docker running, if I access the IP and port 8501 the web stays loading. It is normal? Do you have a graphical environment?

dorcu avatar May 04 '23 11:05 dorcu

If I run "streamlit run gui/streamlit_app.py" y have this error:

Traceback (most recent call last): File "/usr/local/bin/streamlit", line 5, in from streamlit.web.cli import main File "/usr/local/lib/python3.9/dist-packages/streamlit/init.py", line 55, in from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator File "/usr/local/lib/python3.9/dist-packages/streamlit/delta_generator.py", line 42, in from streamlit.elements.arrow import ArrowMixin File "/usr/local/lib/python3.9/dist-packages/streamlit/elements/arrow.py", line 31, in from pandas.io.formats.style import Styler File "/usr/local/lib/python3.9/dist-packages/pandas/io/formats/style.py", line 56, in jinja2 = import_optional_dependency("jinja2", extra="DataFrame.style requires jinja2.") File "/usr/local/lib/python3.9/dist-packages/pandas/compat/_optional.py", line 171, in import_optional_dependency raise ImportError(msg) ImportError: Pandas requires version '3.0.0' or newer of 'jinja2' (version '2.11.3' currently installed).

dorcu avatar May 04 '23 11:05 dorcu

Now I ran this command:

pip install --upgrade jinja2

And then:

streamlit run gui/streamlit_app.py

And I get this message:

streamlit run gui/streamlit_app.py

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

You can now view your Streamlit app in your browser.

Network URL: http://xxx:8501 External URL: http://xxx:8501

But if I access the URL, the web keeps loading

dorcu avatar May 04 '23 11:05 dorcu

+1

lawrenceM7 avatar May 04 '23 14:05 lawrenceM7

+1

paradoxgoo avatar May 05 '23 08:05 paradoxgoo

same error. my docker instance is running but i can't see anything in the browser. forever loading and then it times out. any solutions?

ali-farhad avatar May 06 '23 04:05 ali-farhad