emptymalei / streamlit-multipage-template

A template for streamlit apps. Multiple pages and utilities are structured.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

streamlit-template

Streamlit officially supports multipage: link to announcement

A streamlit app template.

  • Pages and utilities are structured.
  • Easily add new pages.
  • Bash script to run the dashboard.
  • Dockerfile to build a docker image.

Dev

  1. Create an environment conda create -n streamlit-template python=3.7 pip
  2. Install requirements: pip install -r app/requirements.txt

Start the dasboard:

  • cd app
  • streamlit run dashboard.py

About

A template for streamlit apps. Multiple pages and utilities are structured.


Languages

Language:Python 92.2%Language:Dockerfile 3.9%Language:Shell 3.9%