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

Question: Adding second translation language #90

Open
Didaktik-digital opened this issue Jul 15, 2024 · 1 comment
Open

Question: Adding second translation language #90

Didaktik-digital opened this issue Jul 15, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Didaktik-digital
Copy link

Hi there Macoron,

what a wonderful asset - thank you so much for providing it freely!
I really tried o figoure out how to add a second translation language - but so far I have failed.

So, I was hoping you could help me out on how to add "translateToFrench" method to the Microphone example.

Best whises
/Thomas

@Macoron
Copy link
Owner

Macoron commented Jul 16, 2024

Unfortunately, whisper was trained only for English translation. However, you still kinda can translate speech from other languages to French. In WhisperManager set Language field from "auto" to "fr". Now whisper will try to output text in French.

It's not ideal, quality would be relatively low. You would also need a bigger model: small, medium or large.

image

There are also unofficial French only models, like this. No idea if they would work better or worse for French translation.

@Macoron Macoron added the question Further information is requested label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants