This is an example of a simple state machine.
We have three files:
To run just the application, you can run:
python application.py
To run the streamlit app, you can run:
streamlit run streamlit_app.py
This will open a chrome window and print out the URL. The state machine this encapsulates takes the following form: