forked from open-webui/open-webui
Format fix
This commit is contained in:
parent
429242b4d3
commit
81c8717d75
1 changed files with 4 additions and 2 deletions
|
@ -83,7 +83,9 @@ def transcribe(
|
|||
try:
|
||||
model = WhisperModel(**whisper_kwargs)
|
||||
except:
|
||||
log.debug("WhisperModel initialization failed, attempting download with local_files_only=False")
|
||||
log.debug(
|
||||
"WhisperModel initialization failed, attempting download with local_files_only=False"
|
||||
)
|
||||
whisper_kwargs["local_files_only"] = False
|
||||
model = WhisperModel(**whisper_kwargs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue