Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.97 KB

README.md

File metadata and controls

33 lines (29 loc) · 1.97 KB

Hairstyle Recommendation App 2023.11

About

Hairstyle Recommendation App is a separate service which takes image of client, applies pipeline of recommandation algorithms and returns recommendation scores for each hairstyle.

Installation

Docker (recommended)

Running

To run dev-server application execute following command: flask --app hairstyler run --cert=certificates/cert.pem --key=certificates/key.pem --host=0.0.0.0.
To run unit tests execute: python -m unittest discover -v.

Docker (recommended)

  • To run dev-server application execute following command: docker run -p 5000:5000 hairstyler-dev
    • (optional) To run dev-server with GPU support execute: docker run --gpus all -p 5000:5000 hairstyler-gpu-dev
  • To run unit tests execute: docker run hairstyler-tests
    • (optional) To run unit tests with GPU support execute: docker run --gpus all hairstyler-gpu-tests