Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 822 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 822 Bytes

Sauron - Classification API

How to install

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.

Running

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