-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Cannot change transcription language #20
Comments
You have to change it from the w = w.Whisper.from_pretrained("tiny")
w.params.language = "it"
w.transcribe(arr) |
Well, I tried also doing that, however I get this error |
I think there is a bug with the params c_str right now. Feel free to put up a PR to fix it. It is in |
Wish I could but I cannot... Hope someone else can fix this soon! |
Describe the bug
Even if the original audio is not an English speech, the transcription is always translated in English.
I've tried to change the
language
property ofparams
usingapi.Params.language = 'it'
but it didn't work.To reproduce
Expected behavior
No response
Environment
Python 3.9.6
The text was updated successfully, but these errors were encountered: