/streamlit-multipage-app-example

Example of a streamlit multipage web app

Primary LanguagePython

How to create a multi-page streamlit web app

From streamlit version 1.10 onwards, you can now create native streamlit multipage web apps. In this tutorial, I will walk you through an example of how to develop such a streamlit multipage web app. In particular, I will show you how to add multiple pages, including favicons and how to use the streamlit session state to share variables/values between pages.
To follow along, ensure to use the latest streamlit version by running pip install streamlit --upgrade

👉 Also, check out the official streamlit documentation: https://docs.streamlit.io/library/get-started/multipage-apps/create-a-multipage-app

Video Tutorial

YouTube Video

Requirements

Install the dependecies with pip

streamlit==1.11.0

Usage

# [Vanilla Terminal] Run the application
streamlit run 1_🤓_Homepage.py

Get to Know Me & Stay Connected

Support My Work

Love my content and want to show appreciation? Why not buy me a coffee to fuel my creative engine? Your support means the world to me! 😊

ko-fi

Feedback

Got some thoughts or suggestions? Don't hesitate to reach out to me at contact@pythonandvba.com. I'd love to hear from you! 💡 Logo