feat: pass hotwords argument to get_prompt (#1073)

Co-authored-by: Jade Moillic <jade.moillic@radiofrance.com>
This commit is contained in:
jademlc
2025-03-24 10:47:47 +01:00
committed by GitHub
parent 3205436d58
commit 8e53866704

View File

@ -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)