Timothy Jaeryang Baek hai 3 meses
pai
achega
72df23ed79
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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": {