Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ from langchain_community.document_loaders import PyPDFLoader
|
|
4 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
5 |
from langchain_community.vectorstores import Chroma
|
6 |
from langchain.chains import ConversationalRetrievalChain
|
7 |
-
from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
|
8 |
from langchain_community.llms import HuggingFacePipeline
|
9 |
from langchain.chains import ConversationChain
|
10 |
from langchain.memory import ConversationBufferMemory
|
|
|
4 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
5 |
from langchain_community.vectorstores import Chroma
|
6 |
from langchain.chains import ConversationalRetrievalChain
|
7 |
+
#from langchain_community.embeddings import HuggingFaceEmbeddings
|
8 |
+
from langchain_huggingface import HuggingFaceEmbeddings
|
9 |
from langchain_community.llms import HuggingFacePipeline
|
10 |
from langchain.chains import ConversationChain
|
11 |
from langchain.memory import ConversationBufferMemory
|