KvrParaskevi commited on
Commit
041664a
·
verified ·
1 Parent(s): 37ee7a2

Update chatbot.py

Browse files
Files changed (1) hide show
  1. 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
- memory=memory
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)