Skip to content
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

language as a parameter support #118

Open
risedangel opened this issue Jul 24, 2024 · 4 comments
Open

language as a parameter support #118

risedangel opened this issue Jul 24, 2024 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@risedangel
Copy link

Can you add support so that we can add language as a parameter ? I am trying to use the diarization code given at the readme file and receiving the following error.
Due to a bug fix in huggingface/transformers#28687 transcription using a multilingual Whisper will default to language detection followed by transcription instead of translation to English.This might be a breaking change for your use case. If you want to instead always translate your audio to English, make sure to pass language='en'.

@kadirnar
Copy link
Owner

Which pipeline are you using?

@kadirnar kadirnar self-assigned this Jul 24, 2024
@kadirnar kadirnar added bug Something isn't working enhancement New feature or request labels Jul 24, 2024
@risedangel
Copy link
Author

I am using the speaker diarization code samole given in the readme file, but i am using it with whisper large v3 model

@kadirnar
Copy link
Owner

I will add lang parameter support tomorrow.

@risedangel
Copy link
Author

Thank you for your efforts i am waiting to hear from you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants