From 72df23ed79b74036480ea45735350a04b6c6456b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 16 Jun 2025 17:24:55 +0400 Subject: [PATCH] refac --- backend/open_webui/routers/audio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/routers/audio.py b/backend/open_webui/routers/audio.py index 8821087dd..27634cec1 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/open_webui/routers/audio.py @@ -256,6 +256,8 @@ async def update_audio_config( request.app.state.faster_whisper_model = set_faster_whisper_model( form_data.stt.WHISPER_MODEL, WHISPER_MODEL_AUTO_UPDATE ) + else: + request.app.state.faster_whisper_model = None return { "tts": {