CoolFace
Apppublic

kande1/MNIST_Classifier

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
app.py18 linesDownload Raw Back to root
1import pandas as pd2from PIL import Image3import streamlit as st4from streamlit_drawable_canvas import st_canvas5 6st.subheader("Draw Your Digit")7canvas_result = st_canvas(8    fill_color="rgba(0, 0, 0, 0)",9    stroke_width=20,10    stroke_color="#000000",11    background_color="#FFFFFF",12    update_streamlit=True,13    height=280,14    width=280,15    drawing_mode="freedraw",16    key="canvas",17    display_toolbar=True,18)