- Download the data from kaggle.
- Only keep folders related to Potatoes.
- Run Jupyter Notebook in Browser.
jupyter notebook
- Run all the cells
- Copy the model generated and save it with the version number in the
models
folder.
- Get inside
api
folder
cd Api
- Run the FastAPI Server using uvicorn
uvicorn main:app --reload --host localhost
- Your API is now running at
localhost:8000
- Install Nodejs (Setup instructions)
- Install NPM (Setup instructions)
- Install dependencies
cd Models
npm install --from-lock-json
npm audit fix
-
Copy
.env.example
as.env
. -
Change API url in
.env
.
- Get inside
api
folder
cd Website
- Copy the
.env.example
as.env
and updateREACT_APP_API_URL
to API URL if needed. - Run the frontend
npm run start