ahmetoner / whisper-asr-webservice

OpenAI Whisper ASR Webservice API
https://ahmetoner.github.io/whisper-asr-webservice
MIT License
2.11k stars 379 forks source link

Start Container with multiple uvicorn Workers #236

Closed Q-si closed 4 months ago

Q-si commented 4 months ago

Is it possible to run the Docker Container with an additional Environment-Variable to add several uvicorn Workers for parallel-processing the user-requests?

--> for example: "-e WORKER=4"

Q-si commented 4 months ago

I was able to solve the problem myself. I just had to make an adjustment to the Dockerfile.