

Set the log level inside faster-whisper again (lost in merge)
@259a34670c6928e5d530d31017cf7328d51127c2
--- whisper_online.py
+++ whisper_online.py
... | ... | @@ -104,6 +104,7 @@ |
104 | 104 |
|
105 | 105 |
def load_model(self, modelsize=None, cache_dir=None, model_dir=None): |
106 | 106 |
from faster_whisper import WhisperModel |
107 |
+ logging.getLogger("faster_whisper").setLevel(logging.WARNING) |
|
107 | 108 |
if model_dir is not None: |
108 | 109 |
logging.debug(f"Loading whisper model from model_dir {model_dir}. modelsize and cache_dir parameters are not used.") |
109 | 110 |
model_size_or_path = model_dir |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?