Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.01 KB

Streamlit MNIST demo (drawable)

A simple digit recognition demo using keras and streamlit. It uses streamlit-drawable-canvas for drawing on canvas.

demo

streamlit is an open-source app framework, which is the easiest way for data scientists and machine learning engineers to create beautiful, performant apps. All in pure Python, no longer fiddling with javascript.

This demo contains two parts: training a simple digit recognition model using mnist dataset and a webapp to live demo that model.

Running demo

  1. First install all the dependencies

    pip install -r requirements.txt
    
  2. Train model

    Run all the cells of train.ipynb manually or run it using runipy.

    runipy train.ipynb
    
  3. Run demo web-app

    Demo your model by running app.py

    streamlit run app.py