Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

typeerror: transcriptionoptions.__init__() missing 1 required positional argument: 'multilingual' #935

Open
srtk-Negi opened this issue Dec 3, 2024 · 0 comments · May be fixed by #936
Open

Comments

@srtk-Negi
Copy link

srtk-Negi commented Dec 3, 2024

default_url_options = faster_whisper.transcribe.transcriptionoptions(**default_url_options) 

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 

typeerror: transcriptionoptions.__init__() missing 1 required positional argument: 'multilingual'

because of the update to faster-whisper here, it needs multilingual to be passed as an option to TranscriptionOptions in asr.py

Don't know if this will be updated for whisperX but a temporary solution I have found is to just add the multilingual option to the asr_options I am passing in.

default_asr_options = {
    "multilingual": True,
}

default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant