mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Update youtube.py
This commit is contained in:
parent
d7927506f1
commit
87dcbd198c
@ -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 New Issue
Block a user