How to handle large audio files with Whisper API in openai-python without hitting memory limits? #2547
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Think I need anything from the center |
Beta Was this translation helpful? Give feedback.
-
If you’re running into memory or timeout issues with Whisper API when transcribing long recordings (1+ hours), it’s best to avoid sending the entire file in a single request. Large uploads increase both memory usage and the chance of hitting request timeouts. |
Beta Was this translation helpful? Give feedback.
If you’re running into memory or timeout issues with Whisper API when transcribing long recordings (1+ hours), it’s best to avoid sending the entire file in a single request. Large uploads increase both memory usage and the chance of hitting request timeouts.