mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
refac
This commit is contained in:
parent
db1a71c753
commit
2450953080
@ -1061,7 +1061,6 @@ 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=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