-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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
Add provision for other languages in Youtube Video Block #8630
Add provision for other languages in Youtube Video Block #8630
Conversation
This PR targets the Automatically setting the base branch to |
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Just a comment on the expected behaviour @Torantulino is this the expected behaviour in this? Shouldn't it be to choose the language? Seems odd to me that it would just choose the first available language? |
Thanks for taking this on @vishesh10! @aarushik93 this resolves a known issue with the transcriber block that will currently fail to get a transcription even if there is a To default to English you can first attempt a call to:
There is other improvements that could be made here such as preferring manually created transcriptions over Google's auto-generated ones. That can be done via: All in all though this is an undeniable improvement over the existing functionality and a step in the right direction. |
Thanks for considering the PR @Torantulino @aarushik93. Per documentation the |
Background
Youtube Video Block could only transcribe videos if the language was "en". This PR enhances the capability of the block for other languages as well.
en
is not available #8422Changes 🏗️
youtube.py
script to return one of the available transcripts. An exception is thrown If a transcript is not available.Test