Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ from PyPDF2 import PdfReader, PdfWriter
|
|
12 |
|
13 |
|
14 |
from langchain.chains import LLMChain, RetrievalQA
|
15 |
-
from
|
16 |
-
from
|
17 |
#from langchain.document_loaders import GenericLoader
|
18 |
from langchain.schema import AIMessage, HumanMessage
|
19 |
from langchain_community.llms import HuggingFaceHub
|
|
|
12 |
|
13 |
|
14 |
from langchain.chains import LLMChain, RetrievalQA
|
15 |
+
from langchain_community.document_loaders import PyPDFLoader, UnstructuredWordDocumentLoader, DirectoryLoader
|
16 |
+
from langchain_community.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
|
17 |
#from langchain.document_loaders import GenericLoader
|
18 |
from langchain.schema import AIMessage, HumanMessage
|
19 |
from langchain_community.llms import HuggingFaceHub
|