Install python (version 3 or above), numpy, pandas, and scikit-learn on the PC.
- Get the requirements.txt file available in the repository.
- Run the following command in command prompt
pip install -r requirements.txt
All the necessary packages and libraries will get installed automatically.
Now, follow these instructions.
When done, open the project in an IDE and select the appropriate interpreter.
From Command Line Interface
- Unix Bash:
export FLASK_APP=app
flask run
- Windows CMD:
set FLASK_APP=app
flask run
Output:
flask run
Serving Flask app "app"
Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
Copy http://127.0.0.1:5000/ and open it in a browser.
Without using shell
Open run.py
Hit Run, using any IDE