Spaces:
Runtime error
Runtime error
captain-awesome
commited on
Commit
•
5682826
1
Parent(s):
22efaa0
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from langchain.chains import ConversationalRetrievalChain
|
2 |
from langchain.chains.question_answering import load_qa_chain
|
3 |
from langchain.memory import ConversationBufferMemory
|
|
|
4 |
from langchain.llms import HuggingFacePipeline
|
5 |
from langchain import PromptTemplate
|
6 |
from langchain.embeddings import HuggingFaceEmbeddings
|
|
|
1 |
from langchain.chains import ConversationalRetrievalChain
|
2 |
from langchain.chains.question_answering import load_qa_chain
|
3 |
from langchain.memory import ConversationBufferMemory
|
4 |
+
from langchain.memory import ConversationTokenBufferMemory
|
5 |
from langchain.llms import HuggingFacePipeline
|
6 |
from langchain import PromptTemplate
|
7 |
from langchain.embeddings import HuggingFaceEmbeddings
|