Use log.warning instead of log.debug

This commit is contained in:
Self Denial 2024-04-13 03:18:13 -06:00
parent 81c8717d75
commit faa5884150

View File

@ -83,7 +83,7 @@ def transcribe(
try:
model = WhisperModel(**whisper_kwargs)
except:
log.debug(
log.warning(
"WhisperModel initialization failed, attempting download with local_files_only=False"
)
whisper_kwargs["local_files_only"] = False