In this project, we are going to make an API with Flask FastAPI. This app includes a LogistRegression model. About the data it will be the Scikit-Learn iris dataset.
pip install -r requirements.txt
This file contains the librairies we need:
- Flask
- FastAPI
- Uvicorn
- Scikit-learn
At the root of the project open a new terminal then run the command uvicorn main:app --host 0.0.0.0 --port 80