Spaces:
Sleeping
Sleeping
Download streamlit_app.py from Motunbuild/Digit_Recognizer: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/spaces/Motunbuild/Digit_Recognizer/resolve/main/streamlit_app.py
- Command line
-
hf download hf://spaces/Motunbuild/Digit_Recognizer/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/Motunbuild/Digit_Recognizer/resolve/main/streamlit_app.py
395 Bytes
| import altair as alt | |
| import numpy as np | |
| import pandas as pd | |
| import streamlit as st | |
| st.Title = Motunbuild Digit Recognizer | |
| model = "" | |
| uploader = st.file_uploader ( | |
| label = "click and load file here.", | |
| type = "jpeg, png, jpg" | |
| ) | |
| if uploader is not None: | |
| image = Image.open(uploader) | |
| else: | |
| print("Kindly upload and image to continue!.") | |
| def readAndPredict(uploader): | |
| return |