WHISPER_LANGUAGE no longer a "PersistentConfig" variable (Was not appropriate with how WHISPER_LANGUAGE is currently configured).

This commit is contained in:
nathaniel
2025-05-01 21:33:57 +01:00
parent 1efa708f83
commit ef7acfbf3d
3 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -2510,11 +2510,7 @@ WHISPER_VAD_FILTER = PersistentConfig(
os.getenv("WHISPER_VAD_FILTER", "False").lower() == "true",
)
WHISPER_LANGUAGE = PersistentConfig(
"WHISPER_LANGUAGE",
"audio.stt.whisper_language",
os.getenv("WHISPER_LANGUAGE", None).lower(),
)
WHISPER_LANGUAGE = os.getenv("WHISPER_LANGUAGE", None).lower()
# Add Deepgram configuration
DEEPGRAM_API_KEY = PersistentConfig(