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 個月前檢視次數 376 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南