Open sfingali opened 1 year ago
Same!) Will post the solution if found
@sfingali Install it like that, pip install from git not working well for now
If wishing to modify this package, clone and install in editable mode:
$ git clone https://github.com/m-bain/whisperX.git $ cd whisperX $ pip install -e .
Update your installation should work
I got same issue, you can add the argument to default_asr_options
in asr.py
for temporary fix.
"repetition_penalty": 1,
"prompt_reset_on_temperature": 0.5,
"no_repeat_ngram_size": 2,
Having this issue too
This issue has been corrected some time ago. This was because fast_whisper was ahead of whisperX on the default_asr_options. You have to update whisperX install to the current version.
have the same problem, i tried to follow @GrahLnn solution and edit the asr.py,
add this into the default_asr_options
"repetition_penalty": 1, "prompt_reset_on_temperature": 0.5, "no_repeat_ngram_size": 2,
then run
pip install git+https://github.com/m-bain/whisperx.git --upgrade
Somehow it fixed the problem
@sfingali Install it like that, pip install from git not working well for now
If wishing to modify this package, clone and install in editable mode:
$ git clone https://github.com/m-bain/whisperX.git $ cd whisperX $ pip install -e .
I just had the same issue - I followed all the recommended steps on the WhisperX main page, then installed using
pip install git+https://github.com/m-bain/whisperx.git
but then got the same missing positional arguments error. So I tried Afiyetolsun's method and that fixed it! Strange.
git clone https://github.com/m-bain/whisperX.git
cd whisperX
pip install -e .
I ran Git Pull on the repo yesterday to update and whisperX now won't run. I get the following errors:
"TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'repetition_penalty', 'no_repeat_ngram_size', and 'prompt_reset_on_temperature'"
I've create a clean environment and the problem still comes up.