Format fix

This commit is contained in:
Self Denial committed 2024-04-10 20:44:44 -06:00
1 parent 429242b4d3
commit 81c8717d75
1 file changed
+3 -1
+3 -1
View File
@@ -83,7 +83,9 @@ def transcribe(
try: try:
model = WhisperModel(**whisper_kwargs) model = WhisperModel(**whisper_kwargs)
except: 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 whisper_kwargs["local_files_only"] = False
model = WhisperModel(**whisper_kwargs) model = WhisperModel(**whisper_kwargs)