Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 943 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 943 Bytes

Streamlit Demo Application

The code for the Streamlit demo app discussed in the Deploying Machine Learning Models With Streamlit article.

screencast of the app

Running locally

  1. Fetch the necessary files:

    git clone https://github.com/Tim-Abwao/streamlit-demo-app.git
    cd streamlit-demo-app
  2. Create a virtual environment, and install dependencies:

    python3 -m venv venv
    source venv/bin/activate
    pip install -U pip
    pip install -r requirements.txt
  3. Create and save a model:

    python modelling.py
  4. Launch the Streamlit app:

    streamlit run streamlit_app.py