mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
11476eb6ee
commit
72df23ed79
1 changed files with 2 additions and 0 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue