Spaces:
Sleeping
Sleeping
Update document_chat.py
Browse files- document_chat.py +1 -1
document_chat.py
CHANGED
@@ -4,7 +4,7 @@ from langchain.embeddings import HuggingFaceEmbeddings
|
|
4 |
from langchain.document_loaders import PyMuPDFLoader
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
6 |
from langchain.chains import ConversationalRetrievalChain
|
7 |
-
from langchain.memory import
|
8 |
from langchain.llms import HuggingFaceHub
|
9 |
|
10 |
#Constants
|
|
|
4 |
from langchain.document_loaders import PyMuPDFLoader
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
6 |
from langchain.chains import ConversationalRetrievalChain
|
7 |
+
from langchain.memory import ConversationBufferMemory
|
8 |
from langchain.llms import HuggingFaceHub
|
9 |
|
10 |
#Constants
|