mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
fix: youtube loader issue
This commit is contained in:
parent
d3ac439000
commit
f1065115aa
@ -985,7 +985,7 @@ def process_youtube_video(form_data: ProcessUrlForm, user=Depends(get_verified_u
|
|||||||
|
|
||||||
loader = YoutubeLoader.from_youtube_url(
|
loader = YoutubeLoader.from_youtube_url(
|
||||||
form_data.url,
|
form_data.url,
|
||||||
add_video_info=True,
|
add_video_info=False,
|
||||||
language=app.state.config.YOUTUBE_LOADER_LANGUAGE,
|
language=app.state.config.YOUTUBE_LOADER_LANGUAGE,
|
||||||
translation=app.state.YOUTUBE_LOADER_TRANSLATION,
|
translation=app.state.YOUTUBE_LOADER_TRANSLATION,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user