dataprofessor / streamlit_navbar

33 stars 20 forks source link

streamlit_navbar

Watch the tutorial video

Is it Possible to Add a Navigation Bar to Streamlit Apps? | Streamlit #29

Is it Possible to Add a Navigation Bar to Streamlit Apps? | Streamlit #29

Demo

Launch the web app:

Streamlit App

Reproducing this web app

To recreate this web app on your own computer, do the following.

Create conda environment

Firstly, we will create a conda environment called streamlit_navbar

conda create -n streamlit_navbar python=3.7.9

Secondly, we will login to the streamlit_navbar environment

conda activate streamlit_navbar

Install prerequisite libraries

Download requirements.txt file

wget https://raw.githubusercontent.com/dataprofessor/streamlit_navbar/main/requirements.txt

Pip install libraries

pip install -r requirements.txt

Download and unzip contents from GitHub repo

Download and unzip contents from https://github.com/dataprofessor/streamlit_navbar/archive/main.zip

Launch the app

streamlit run app_navbar.py