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: try:
model = WhisperModel(**whisper_kwargs) model = WhisperModel(**whisper_kwargs)
except: except:
log.debug( log.warning(
"WhisperModel initialization failed, attempting download with local_files_only=False" "WhisperModel initialization failed, attempting download with local_files_only=False"
) )
whisper_kwargs["local_files_only"] = False whisper_kwargs["local_files_only"] = False