From 8e538667040f7a7e319612710f3280a98f1a8b7a Mon Sep 17 00:00:00 2001 From: jademlc <68696651+jademlc@users.noreply.github.com> Date: Mon, 24 Mar 2025 10:47:47 +0100 Subject: [PATCH] feat: pass hotwords argument to get_prompt (#1073) Co-authored-by: Jade Moillic --- whisperx/asr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/whisperx/asr.py b/whisperx/asr.py index 6de9490..70cfa83 100644 --- a/whisperx/asr.py +++ b/whisperx/asr.py @@ -50,6 +50,7 @@ class WhisperModel(faster_whisper.WhisperModel): previous_tokens, without_timestamps=options.without_timestamps, prefix=options.prefix, + hotwords=options.hotwords ) encoder_output = self.encode(features)