Download and install python 3.6+ and pip. If you wanta more isolate environment, you can install virtualenv
and install the dependencies on a virtual environment. For that you need to:
Install:
pip install virtualenv
Create a virtual env:
virtualenv -p python venv
Start virtualenv:
venv/Scripts/activate.bat
Then on the root of the project run:
Linux:
pip3 install -r requirements.txt
Windows:
pip install -r requirements.txt
Or simply install python and install its dependencies.
Create an ````.env``` file with the following content:
PROD=True
MODEL_PATH=model/weights/model.h5
Execute on your terminal:
uvicorn app:app --port 8000 --reload