This project has four major parts :
- model.py - This file contains the code for our ML model
- app.py - This file contains our flask API
- templates - This folder contains the HTML templates
- static - This folder contains the .css file and the images for the html file index.html to use and render a good looking web-app.
- The project should be in the main directory.Run the following command to the Machine Learning model
python model.py
- Run app.py using below command to start Flask API
python app.py runserver
By default, flask will run on port 5000.
- Navigate to URL http://127.0.0.1:8000/ (This local server will be assigned after you run the unicorn command)