ahmetoner / whisper-asr-webservice

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

Issue with Processing Large Files (80MB) #143

Closed blockfer-rp closed 11 months ago

blockfer-rp commented 11 months ago

Hello,

I'm running this project on Google Cloud Run. When I process files that are between 30MB to 40MB, everything works fine. However, when I try to process a file that is around 80MB, I encounter a "413 Request Entity Too Large" error.

I'm not sure where this error is coming from. Is there a way to control the file size limits within the code, or is there a feature to automatically split larger files into smaller chunks for processing?

413 Request Entity Too Large

Error: Request Entity Too Large

Your client issued a request that was too large.

ayancey commented 11 months ago

As per official GCP documentation, the maximum request size limit for Cloud Run (which is 32 MB) cannot be increased. No limit if using HTTP/2 server.

https://cloud.google.com/run/quotas#cloud_run_limits