Run app in browser from VSC Jupyter NB

Installed, imported and coded streamlit in Jupyter framework on VSC. Got the message below and not sure how to proceed:

2023-10-10 22:05:20.325 Warning: to view this Streamlit app on a browser, run it with the following command: streamlit run [c:\Users\KamaKamaKama\anaconda3\envs\Butterfly\Lib\site-packages\](file:///C:/Users/KamaKamaKama/anaconda3/envs/Butterfly/Lib/site-packages/ [ARGUMENTS]


Streamlit has a server-client structure. When you execute a Streamlit app, the Python code is executed and re-executed with each user interaction. It creates a local server so you can view your app through a web browser. It can’t be run from a Jupyter Notebook out-of-the-box.

Save your code into a python file ( then execute that file from command line with streamlit run executed from the directory with your file.

Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.