-
Clone the repository.
git clone https://github.com/moxi43/weight_gender_age_detection.git
-
Upload the model and put it in ./weight_gender_age_detection/models/
cd models
-
Create a virtual environment for the project.
-
Install
virtualenv
:pip install virtualenv
-
Create a Python virtual environment:
virtualenv venv
-
Activate virtual environment:
1.Windows:
cd venv\Scripts activate cd ..\..
2.Linux / Mac:
source venv/bin/activate
-
-
Install libraries:
pip install -r requirements.txt
- Run the app:
or
cd src flask run
python srс/app.py
- Run on a specific port:
or
cd src flask run -p <port>
python src/app.py -p <port>