Timothy Jaeryang Baek 3 月之前
父節點
當前提交
72df23ed79
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      backend/open_webui/routers/audio.py

+ 2 - 0
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": {