JulianFP / project-W

A self-hostable platform on which users can create transcripts of their audio files (speech-to-text) using Whisper AI
GNU Affero General Public License v3.0
2 stars 0 forks source link

retrieveJob response is larger than submitJob request resulting in a job that can't be processed when having large audio files #46

Open JulianFP opened 3 days ago

JulianFP commented 3 days ago

The problem is that retrieveJob returns the job in base64 encoding resulting in a larger response than the submitJob request (which contains the file in just binary). Since in the docker setup nginx is capped at 1GB this will result in jobs of certain sizes to be unable to be processed by the runner. The result of this can be one of the following:

dokempf commented 2 days ago

What a stupid corner case. Good detective work!