... ngrok: the problem


In this video we explain the problem that we're trying to solve.

The streamlit app that we're running locally (demo.py) has these contents:

import streamlit as st
import numpy as np
import matplotlib.pylab as plt

st.write("Here is our super important simulation.")

x = st.sidebar.slider('Slope', min_value=0.01, max_value=0.10, step=0.01)
y = st.sidebar.slider('Noise', min_value=0.01, max_value=0.10, step=0.01)

arr = np.cumprod(1 + np.random.normal(x, y, (100, 10)), axis=0)
for i in range(arr.shape[1]):
    plt.plot(arr[:, i])


If you're interested in learning how this app works, you may appreciate the small course we've made over here. To run streamlit locally it much first be installed and then you can run it.

pip install streamlit 
streamlit run demo.py

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider signing up for the newsletter.