add speech to text command (#6)

This commit is contained in:
Dmitry Afanasyev
2023-09-26 05:30:27 +03:00
committed by GitHub
parent 29355722fa
commit 9aca4c2aeb
13 changed files with 150 additions and 68 deletions

View File

@@ -6,7 +6,7 @@ if [[ "${START_WITH_WEBHOOK}" == "true" ]]
then
echo "Starting bot in webhook mode..."
gunicorn main:create_app \
-- workers ${WORKERS_COUNT} \
--workers ${WORKERS_COUNT} \
--bind ${APP_HOST}:${APP_PORT} \
--worker-class uvicorn.workers.UvicornWorker \
--timeout 150 \

View File

@@ -1,11 +0,0 @@
#! /bin/bash
echo "starting chat"
gunicorn run:create_app \
-- workers ${WORKERS_COUNT} \
--bind ${APP_HOST}:${APP_PORT} \
--worker-class uvicorn.workers.UvicornWorker \
--timeout 150 \
--max-requests 2000 \
--max-requests-jitter 400