mirror of
https://github.com/serengil/deepface.git
synced 2025-07-19 08:20:04 +00:00
add option to use flak run in service sh
This commit is contained in:
parent
0b0d898b5d
commit
3690f32949
@ -1,3 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
cd ../deepface/api/src
|
||||
|
||||
# run the service with flask - not for production purposes
|
||||
# python api.py
|
||||
|
||||
# run the service with gunicorn - for prod purposes
|
||||
gunicorn --workers=1 --timeout=3600 --bind=0.0.0.0:5000 "app:create_app()"
|
Loading…
x
Reference in New Issue
Block a user