Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ from langchain.document_loaders import PyPDFLoader, UnstructuredWordDocumentLoa
|
|
16 |
from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
|
17 |
#from langchain.document_loaders import GenericLoader
|
18 |
from langchain.schema import AIMessage, HumanMessage
|
19 |
-
from
|
20 |
-
from
|
21 |
from langchain_community.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
22 |
|
23 |
from langchain.prompts import PromptTemplate
|
|
|
16 |
from langchain.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
|
20 |
+
from langchain_community.llms import HuggingFaceTextGenInference
|
21 |
from langchain_community.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
22 |
|
23 |
from langchain.prompts import PromptTemplate
|