diff --git a/requirements.txt b/requirements.txt index caaa730..8f1aabd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ torch>=2 torchaudio>=2 -faster-whisper==1.0.3 +faster-whisper==1.1.0 ctranslate2==4.4.0 transformers pandas diff --git a/setup.py b/setup.py index 2b11e7e..fa05870 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( open(os.path.join(os.path.dirname(__file__), "requirements.txt")) ) ] - + [f"pyannote.audio==3.1.1"], + + [f"pyannote.audio==3.3.2"], entry_points={ "console_scripts": ["whisperx=whisperx.transcribe:cli"], }, diff --git a/whisperx/asr.py b/whisperx/asr.py index 234034e..e403040 100644 --- a/whisperx/asr.py +++ b/whisperx/asr.py @@ -319,6 +319,7 @@ def load_model(whisper_arch, "word_timestamps": False, "prepend_punctuations": "\"'“¿([{-", "append_punctuations": "\"'.。,,!!??::”)]}、", + "multilingual": model.model.is_multilingual, "suppress_numerals": False, "max_new_tokens": None, "clip_timestamps": None,