🔧(summary) add configurable language settings for WhisperX transcription

Make WhisperX language detection configurable through FastAPI settings
to handle empty audio start scenarios where automatic detection fails and
incorrectly defaults to English despite 99% French usage.

Quick fix acknowledging long-term solution should allow dynamic
per-recording language selection configured by users through web
interface rather than global server settings.
This commit is contained in:
lebaudantoine
2025-10-10 11:33:15 +02:00
committed by aleb_the_flash
parent 4353db4a5f
commit aecc48f928
4 changed files with 9 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ AWS_S3_SECRET_ACCESS_KEY="password"
WHISPERX_BASE_URL="https://configure-your-url.com"
WHISPERX_ASR_MODEL="large-v2"
WHISPERX_API_KEY="your-secret-key"
WHISPERX_DEFAULT_LANGUAGE="fr"
LLM_BASE_URL="https://configure-your-url.com"
LLM_API_KEY="dev-apikey"