mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
update kwargs
This commit is contained in:
@ -320,6 +320,9 @@ def load_model(whisper_arch,
|
|||||||
"prepend_punctuations": "\"'“¿([{-",
|
"prepend_punctuations": "\"'“¿([{-",
|
||||||
"append_punctuations": "\"'.。,,!!??::”)]}、",
|
"append_punctuations": "\"'.。,,!!??::”)]}、",
|
||||||
"suppress_numerals": False,
|
"suppress_numerals": False,
|
||||||
|
"max_new_tokens": None,
|
||||||
|
"clip_timestamps": None,
|
||||||
|
"hallucination_silence_threshold": None,
|
||||||
}
|
}
|
||||||
|
|
||||||
if asr_options is not None:
|
if asr_options is not None:
|
||||||
|
Reference in New Issue
Block a user