Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 765 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 765 Bytes

streamlit-template

A streamlined template for Streamlit applications.

Usage

1. Create Initial Environment

# For conda users
conda create -n my_streamlit_env python=3.9
conda activate my_streamlit_env

# For venv users
python -m venv streamlit_env
source streamlit_env/bin/activate # Linux
streamlit_env\Scripts\activate    # Windows

# Users who do not wish to use a virtual environment can proceed to the next step directly

2. Install Dependencies

# Using conda
conda env update -f environment.yml --prune # Ensure to modify some details in the environment.yml file
# Using pip
pip install -r requirements.txt

3. Run the Application

streamlit run streamlit_app.py

Open for issues! Enjoy!

By Maicarons