Spaces:
Sleeping
Sleeping
add file
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
from langchain.document_loaders import YoutubeLoader
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from langchain.llms import OpenAI
|
@@ -7,6 +6,9 @@ from langchain.prompts import PromptTemplate
|
|
7 |
from langchain.chains import LLMChain
|
8 |
from langchain.vectorstores import FAISS
|
9 |
from dotenv import load_dotenv
|
|
|
|
|
|
|
10 |
|
11 |
load_dotenv()
|
12 |
|
|
|
|
|
1 |
from langchain.document_loaders import YoutubeLoader
|
2 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
3 |
from langchain.llms import OpenAI
|
|
|
6 |
from langchain.chains import LLMChain
|
7 |
from langchain.vectorstores import FAISS
|
8 |
from dotenv import load_dotenv
|
9 |
+
import gradio as gr
|
10 |
+
from langchain.document_loaders import YoutubeLoader
|
11 |
+
|
12 |
|
13 |
load_dotenv()
|
14 |
|