diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index b5d37cc8e..6d4ddc7e6 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -2510,7 +2510,7 @@ WHISPER_VAD_FILTER = PersistentConfig( os.getenv("WHISPER_VAD_FILTER", "False").lower() == "true", ) -WHISPER_LANGUAGE = os.getenv("WHISPER_LANGUAGE", None).lower() +WHISPER_LANGUAGE = os.getenv("WHISPER_LANGUAGE", "").lower() or None # Add Deepgram configuration DEEPGRAM_API_KEY = PersistentConfig(