/streamlit-oscd-demo

Demo for OSDC

Primary LanguagePythonApache License 2.0Apache-2.0

Streamlit OSDC Demo

This is a demo of how to use Streamlit. It is modeled on the Udacity Self-driving Car demo.

Outline of the Demo

Step 1: Installing Streamlit

pipenv install

Step 2: Testing your install

pipenv run streamlit hello

Or alternatively:

pipenv shell
streamlit hello

Step: Let's make a simple hello world program

num_hellos = st.slider("How many hellos", min_value=1, max_value=10)
for i in range(num_hellos):
    st.write(i, "Hello, world!!")