Skip to content

Simple ML app using Gradio and Tensorflow to identify handwritten digits

Notifications You must be signed in to change notification settings

SourasishBasu/Digit-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Digit-Classifier

Interactive ML webapp using Gradio and Tensorflow to identify handwritten digits using a model trained on the MNIST dataset.

Prerequisites:

  • Python 3.9 & up

  • Open Command prompt and type:

    pip install gradio --user
    
    pip install tensorflow --user

To run in terminal:

  • Open Powershell in the local repository folder

  • Type:

     python main.py
  • The web interface will be available at the url generated: http://localhost:7860

Using Google Colab

  • The program is also available in Google Colab which can be accessed here.

  • Copy the notebook to your Google Drive and follow the instructions to run the code.

Usage

  • Draw different digits using mouse cursor onto the sketch area and click submit.

  • A list of guesses along with how confident the trained model is for other guesses will be provided with varying percentages.

  • Click clear to refresh the sketch area and start drawing again.

Images


Interface




Example



About

Simple ML app using Gradio and Tensorflow to identify handwritten digits

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages