Streamlit is not working in localhost

0

My code is app.py

import streamlit as st
st.write("hello")

run this code with streamlit run app.py

You can now view your Streamlit app in your browser.

Network URL: http://XXX.XXX.XXX.X:8501 External URL: http://XX.X.XXX.XX:8501

I follow the https://XXX/jupyterlab/default/proxy/8501 but tis is not working for me

Dipika
已提问 5 个月前380 查看次数
1 回答
0
已接受的回答

Hi,

I would suggest that you follow the precise guidance of this recent blog post to get Streamlit accessible when running on SageMaker: https://aws.amazon.com/blogs/machine-learning/build-streamlit-apps-in-amazon-sagemaker-studio/

Best,

Didier

profile pictureAWS
专家
已回答 5 个月前
profile picture
专家
已审核 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则