suppress info logs from faster_whisper

This commit is contained in:
Josh Hawkins 2025-10-08 17:36:16 -05:00
parent dacdcafd35
commit 123b2705b5

View File

@ -141,6 +141,8 @@ class FasterWhisperASR(ASRBase):
def transcribe(self, audio, init_prompt=""):
from faster_whisper import BatchedInferencePipeline
logging.getLogger("faster_whisper").setLevel(logging.WARNING)
# tested: beam_size=5 is faster and better than 1 (on one 200 second document from En ESIC, min chunk 0.01)
batched_model = BatchedInferencePipeline(model=self.model)
segments, info = batched_model.transcribe(