Streamlit turns Python scripts into interactive web apps without any front-end code. This workspace runs a working Streamlit app on port 8080, so you write Python and the UI shows up in the built-in browser preview as you save.
app.py has a working starter with a title, markdown and a button. Start the server and the app opens on port 8080.
The full cloud editor with an integrated terminal, extensions and a debug config in the .vscode folder, so F5 starts the app.
Streamlit reruns the script when you edit it, so a Rerun prompt appears in the app and your changes render without restarting the server.
Add pandas, numpy, plotting libraries or anything else from the terminal with pip, and list them in requirements.txt.
Streamlit is an open-source Python library for building interactive web apps from plain scripts. You write Python with calls like st.title, st.button and st.dataframe, and Streamlit renders them as a web page. There's no HTML, CSS or JavaScript to write, which is why it's popular for data apps, dashboards and ML demos.
This workspace ships a small Streamlit app so the UI is live the moment you start the server. The starter shows a title, some markdown and a button, which is a quick way to see how widgets and the rerun model behave before you add your own.
app.py is a short Streamlit script: a title, a markdown block and a button that drops balloons when clicked. There's a .streamlit folder with the theme set to light, and a .vscode debug config so F5 launches the app. requirements.txt is where you pin Streamlit and any data libraries you add.
Streamlit runs your script top to bottom on every interaction, so building a page is mostly a matter of adding more st calls. Swap the starter content for your own widgets, charts and inputs as you go.
Open the terminal and run streamlit run app.py --server.port=8080 --server.address=0.0.0.0. The app serves on port 8080 and Studio opens it in the built-in browser preview. When you edit app.py, Streamlit offers a rerun so the updated UI shows without a restart.
Data dashboards, model demos with sliders and file uploads, exploratory data tools, and internal apps that wrap a Python script in a shareable UI. Pair it with pandas and a charting library and you can go from a script to an interactive app quickly.
Open the terminal and run streamlit run app.py --server.port=8080 --server.address=0.0.0.0, or press F5. The app serves on port 8080 and Studio opens it in the built-in preview.
On port 8080, in the built-in browser preview that Studio opens automatically. If it doesn't open, run the Studio Manager: SimpleBrowser Default URL command from the VS Code command palette.
No. You build the whole UI in Python using Streamlit's functions like st.title, st.button and st.dataframe. Streamlit handles the rendering, so there's no front-end code to write.
Install them with pip, for example pip install pandas, then import and use them in app.py. Add the libraries to requirements.txt so your dependencies are tracked.
When you save app.py, Streamlit detects the change and offers to rerun the script, so the updated app renders without restarting the server.
Streamlit needs a paid plan. The free templates are marked as such in Studio, and you can upgrade from the pricing page any time to launch this workspace.