mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
Update youtube.py
This commit is contained in:
parent
87dcbd198c
commit
1dcbec71ec
1 changed files with 2 additions and 2 deletions
|
|
@ -128,5 +128,5 @@ class YoutubeLoader:
|
|||
|
||||
# If we get here, all languages failed
|
||||
languages_tried = ", ".join(self.language)
|
||||
log.warning(f"No transcript found for any of the specified languages: {languages_tried}")
|
||||
raise NoTranscriptFound(f"No transcript found for any supported language")
|
||||
log.warning(f"No transcript found for any of the specified languages: {languages_tried}. Verify if the video has transcripts, add more languages if needed.")
|
||||
raise NoTranscriptFound(f"No transcript found for any supported language. Verify if the video has transcripts, add more languages if needed.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue