KvrParaskevi commited on
Commit
198d357
·
verified ·
1 Parent(s): da6fad5

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +2 -2
chatbot.py CHANGED
@@ -71,5 +71,5 @@ def demo_chain(input_text, memory):
71
  memory=memory
72
  )
73
 
74
- chat_reply = conversation(input=input_text)
75
- return chat_reply['response']
 
71
  memory=memory
72
  )
73
 
74
+ chat_reply = conversation.predict(input=input_text)
75
+ return chat_reply