From 3ff625c561e08562c1a299c8df0695b6f94f5313 Mon Sep 17 00:00:00 2001 From: moritzbrantner <31051084+moritzbrantner@users.noreply.github.com> Date: Tue, 31 Dec 2024 09:41:22 +0100 Subject: [PATCH] feat: update faster-whisper to 1.0.2 (#814) * Update faster-whisper to 1.0.2 to enable model distil-large-v3 * feat: add hotwords option to default_asr_options --------- Co-authored-by: Barabazs <31799121+Barabazs@users.noreply.github.com> --- requirements.txt | 2 +- whisperx/asr.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 633850b..44de0cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ torch>=2 torchaudio>=2 -faster-whisper==1.0.0 +faster-whisper==1.0.2 ctranslate2==4.4.0 transformers pandas diff --git a/whisperx/asr.py b/whisperx/asr.py index 0ccaf92..42faa30 100644 --- a/whisperx/asr.py +++ b/whisperx/asr.py @@ -323,6 +323,7 @@ def load_model(whisper_arch, "max_new_tokens": None, "clip_timestamps": None, "hallucination_silence_threshold": None, + "hotwords": None, } if asr_options is not None: