Spaces:
Runtime error
Runtime error
File size: 235 Bytes
9db894e |
1 2 3 4 5 6 7 |
from typing import List
def youtube_doc_loader(url: str) -> List:
from langchain.document_loaders import YoutubeLoader
loader = YoutubeLoader.from_youtube_url(url, add_video_info=False)
data = loader.load()
return data |