Hi
I was able to run it by creating a python environment with pyenv and poetry. In this python environment, I only put streamlit=1.25 and he downloaded all the required dependencies. At first, it runs with the command :
streamlit run chat.py args --server.address=0.0.0.0 --server.port=8501 --server.baseUrlPath="/proxy/absolute/8501" --server.fileWatcherType=none --server.enableXsrfProtection=false --server.enableCORS=false --logger.level=debug --server.enableWebsocketCompression=false
But I reduced the command to this one :
`streamlit run chat.py --server.address=0.0.0.0 --server.baseUrlPath=“/proxy/absolute/8501”
The key seems about the rewriting of the url or maybe it was only with our specific Sagemaker notebook instance but It might help others.
By the way, it works on Safari and Firefox, but not on Chrome (blocked at the Please wait stage)