fix: start processing thread

This commit is contained in:
2023-12-27 23:48:37 +00:00
parent 2b844a899f
commit 109e06a5d6
6 changed files with 12 additions and 9 deletions

View File

@@ -13,4 +13,4 @@ RUN apt update && apt install -y ffmpeg libsm6 libxext6
COPY src .
COPY best.pt /best.pt
CMD [ "gunicorn", "-b 0.0.0.0:80", "app:app" ]
CMD [ "gunicorn", "-b 0.0.0.0:80", "--workers", "1", "app:app" ]