Here we are creating a website where we have the carbon emmisions data in which we are predicting the CO2 emmisions from it through machine learning model.
Follow these steps in after cloning in terminal!!
Create virtual environment.
python -m venv venv
Activate virtual environment.
.\venv\Scripts\activate
Set environment variables to prevent pycache files from being created, app and environment type.
$env:PYTHONDONTWRITEBYTECODE=1;$env:FLASK_APP="app";$env:FLASK_ENV = "development"
Install dependancies (Only once)
pip install flask
pip install matplotlib
pip install numpy
pip install pandas
pip install -U scikit-learn
pip install pickle
Run the app
flask run
Here it is showing the screenshots of our local website servers.
If you have any feedback, please raise a new a new issue and if you also want to have some better changes feel free to change it. Till then happy coding 😸.