Stream Whisper uploads with curl so large audio does not OOM.
This commit is contained in:
@@ -99,6 +99,8 @@ VITE_REVERB_SCHEME=http
|
||||
LOCAL_WHISPER_URL=http://127.0.0.1:8090/v1
|
||||
LOCAL_WHISPER_API_KEY=not-needed
|
||||
LOCAL_WHISPER_MODEL=Systran/faster-whisper-base
|
||||
# curl streams large uploads off disk; http is for tests (Http::fake)
|
||||
LOCAL_WHISPER_TRANSPORT=curl
|
||||
TRANSCRIPTION_TIMEOUT=600
|
||||
# Must be greater than TRANSCRIPTION_TIMEOUT so long Whisper jobs are not re-queued mid-run
|
||||
DB_QUEUE_RETRY_AFTER=660
|
||||
|
||||
Reference in New Issue
Block a user