mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
Update youtube.py
This commit is contained in:
parent
d7927506f1
commit
87dcbd198c
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class YoutubeLoader:
|
|||
if isinstance(language, str):
|
||||
self.language = [language]
|
||||
else:
|
||||
self.language = list(language) # Make a copy to avoid modifying the original
|
||||
self.language = list(language)
|
||||
|
||||
# Add English as fallback if not already in the list
|
||||
if "en" not in self.language:
|
||||
|
|
|
|||
Loading…
Reference in a new issue