Skip to content

We have a working Handwritten prediction model along with Fast API in place to make predictions on the got. Code works for any model for easy deployment on Heroku and use its APIs anywhere

Notifications You must be signed in to change notification settings

shashank40/User-Admin-Application-Handwritten-digit-classification-model

Repository files navigation

dsci2023

always remove tensorflow-intel from requirements.txt before pushing code

Kinda mind-blowing how this simple task is so complicated in Python. Here is what I think is the best way to do it automatically.

To Intialize this app on your local(One time).

  1. Clone repository on local
  2. Install conda on your machine
  3. conda create --name dscienv (This is to create a python environment)
  4. conda activate dscienv (To activate the environment)
  5. pip3 install -r requirements.txt (TO INSTALL DEPENDENCIES)
  6. uvicorn main:app --reload (To run the application on local)

IMP : always add libraries/dependencies with version in requirements.in after doing pip install and then pip-compile

To run app later everytime: 1)conda activate dscienv 2)uvicorn main:app --reload

To remove all pycache : find . -type d -name "pycache" -exec rm -r {} +

admin token : ####

About

We have a working Handwritten prediction model along with Fast API in place to make predictions on the got. Code works for any model for easy deployment on Heroku and use its APIs anywhere

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published