Streamlit web apps

Note

Streamlit is not installed by default in DSS. We recommend that you create and use a code environment containing streamlit as an additional package.

DSS recommends using Streamlit versions 1.40 or higher (earlier versions may work, but have not been qualified).

To create a Streamlit web app, go to the Webapps list (Hover on the Code icon on the main toolbar and select the Webapps menu item), click +New web app, choose Streamlit, select a template, and provide a name for your app.

A Streamlit web app consists of two parts:

  • Python code defining page layout and data visualizations

  • A configuration in toml format, defining theme and other streamlit settings

Each time you save your Streamlit webapp, the Streamlit backend restarts and displays the updated application; You can disable auto-restart in the settings.