Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -68,7 +68,7 @@ def demo_chain(input_text, memory):
|
|
68 |
conversation = ConversationChain(
|
69 |
llm=llm,
|
70 |
verbose=langchain.globals.get_verbose(),
|
71 |
-
|
72 |
)
|
73 |
|
74 |
chat_reply = conversation.predict(input=input_text)
|
|
|
68 |
conversation = ConversationChain(
|
69 |
llm=llm,
|
70 |
verbose=langchain.globals.get_verbose(),
|
71 |
+
history=memory
|
72 |
)
|
73 |
|
74 |
chat_reply = conversation.predict(input=input_text)
|