How do I get translation, non-English with Python Library? #1309
Unanswered
geekinchief22
asked this question in
Q&A
Replies: 2 comments
-
You are using the wrong model
This model is for English only. Try a model without ".en". See also |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. That worked! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a 15 second clip of Portuguese audio (langtest.wav) that transcribes and translates perfectly when I use the CLI
whisper langtest.wav --task translate
However, I am writing a Python script to perform this task and it's not translating or even transcribing properly. Here's what I have:
The end result is that I get a word salad that's in English. This is the case, even if I take out both the language and task parameters. It doesn't seem to detect that this non-English at all.
Beta Was this translation helpful? Give feedback.
All reactions