From bbaa2f0d1a1e98a8deae04968fc3f0fd6506cd35 Mon Sep 17 00:00:00 2001 From: Max Bain <36994049+m-bain@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:59:14 +0000 Subject: [PATCH] update kwargs --- whisperx/asr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/whisperx/asr.py b/whisperx/asr.py index 914c5cb..0ccaf92 100644 --- a/whisperx/asr.py +++ b/whisperx/asr.py @@ -320,6 +320,9 @@ def load_model(whisper_arch, "prepend_punctuations": "\"'“¿([{-", "append_punctuations": "\"'.。,,!!??::”)]}、", "suppress_numerals": False, + "max_new_tokens": None, + "clip_timestamps": None, + "hallucination_silence_threshold": None, } if asr_options is not None: