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

Get the language used for transcription in TranscribeResult #127

Open
jobpaardekooper opened this issue Sep 20, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@jobpaardekooper
Copy link
Contributor

Would it be possible the get the language that was used for the transcription when you have set the language to "auto"?

@jhen0409
Copy link
Member

In whisper.cpp it have a method called whisper_lang_auto_detect_with_state, but it's used for auto detect language of prompt if the language param is null. I think we should also be able to do the similar thing with result.

@jhen0409 jhen0409 added the enhancement New feature or request label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants