mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
feat: pass hotwords argument to get_prompt (#1073)
Co-authored-by: Jade Moillic <jade.moillic@radiofrance.com>
This commit is contained in:
@ -50,6 +50,7 @@ class WhisperModel(faster_whisper.WhisperModel):
|
|||||||
previous_tokens,
|
previous_tokens,
|
||||||
without_timestamps=options.without_timestamps,
|
without_timestamps=options.without_timestamps,
|
||||||
prefix=options.prefix,
|
prefix=options.prefix,
|
||||||
|
hotwords=options.hotwords
|
||||||
)
|
)
|
||||||
|
|
||||||
encoder_output = self.encode(features)
|
encoder_output = self.encode(features)
|
||||||
|
Reference in New Issue
Block a user