mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
feat: update versions for pyannote:3.3.2 and faster-whisper:1.1.0 (#936)
* chore: bump faster-whisper to 1.1.0 * chore: bump pyannote to 3.3.2 * feat: add multilingual option in load_model function --------- Co-authored-by: Barabazs <31799121+Barabazs@users.noreply.github.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
torch>=2
|
torch>=2
|
||||||
torchaudio>=2
|
torchaudio>=2
|
||||||
faster-whisper==1.0.3
|
faster-whisper==1.1.0
|
||||||
ctranslate2==4.4.0
|
ctranslate2==4.4.0
|
||||||
transformers
|
transformers
|
||||||
pandas
|
pandas
|
||||||
|
2
setup.py
2
setup.py
@ -21,7 +21,7 @@ setup(
|
|||||||
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
|
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
+ [f"pyannote.audio==3.1.1"],
|
+ [f"pyannote.audio==3.3.2"],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": ["whisperx=whisperx.transcribe:cli"],
|
"console_scripts": ["whisperx=whisperx.transcribe:cli"],
|
||||||
},
|
},
|
||||||
|
@ -319,6 +319,7 @@ def load_model(whisper_arch,
|
|||||||
"word_timestamps": False,
|
"word_timestamps": False,
|
||||||
"prepend_punctuations": "\"'“¿([{-",
|
"prepend_punctuations": "\"'“¿([{-",
|
||||||
"append_punctuations": "\"'.。,,!!??::”)]}、",
|
"append_punctuations": "\"'.。,,!!??::”)]}、",
|
||||||
|
"multilingual": model.model.is_multilingual,
|
||||||
"suppress_numerals": False,
|
"suppress_numerals": False,
|
||||||
"max_new_tokens": None,
|
"max_new_tokens": None,
|
||||||
"clip_timestamps": None,
|
"clip_timestamps": None,
|
||||||
|
Reference in New Issue
Block a user