Replies: 1 comment
-
Hello @dkbs12 I wouldn't recommend trying to run this demo in google colab. Google colab is just not built for this purpose and you will have a hard time trying to expose the port and access the site, though you might find people discussing this idea in the streamlit discussion forum here. Instead, please have a look a the instructions on running the demo in HuggingFace Spaces. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When I ran the demo 'Explore the world' in Colab, I failed to start up the app on localhost:8501.
So I'd like to ask you to look over the below codes and help me solve this problem.
This is my codes for Colab;
cd "/content/drive/MyDrive/CheckNDC project/UI/streamlit/haystack-search-pipeline-streamlit"
!git clone https://github.com/deepset-ai/haystack-search-pipeline-streamlit.git
cd "/content/drive/MyDrive/CheckNDC project/UI/streamlit/haystack-search-pipeline-streamlit test/haystack-search-pipeline-streamlit"
!pip install -r requirements.txt
!streamlit run app.py
Finally, I got the response as below;
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
You can now view your Streamlit app in your browser.
Network URL: http://172.28.0.12:8501/
External URL: http://34.86.134.61:8501/
I've tried both of the URL above, but I found the error message told me 'cannot connect to the site'.
I can't use docker to implement 'Explore the world', because I need to keep using Colab for using its GPU.
So I cloned the github repository into my google drive and ran the app.py file in Colab.
Please help me with this matter.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions