-
As the first 30 seconds of my audio file the auto detected language is incorrect therefore I need a way to set it manually. I understand I can achieve this if I use the more low level whisper.decode. However, my audio file is far longer than 30s. Is their a way I can either use model.transcribe and specify the language as an argument. Or can I use whisper.decode on files longer than 30s. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
glangford
May 27, 2023
Replies: 1 comment 2 replies
-
result = model.transcribe(your_file, language="en", verbose=False) # for example See also |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Zoobdude
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also