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
asked 4 months ago304 views
1 Answer
0
Accepted Answer

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
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions