KvrParaskevi commited on
Commit
a09c475
·
verified ·
1 Parent(s): 5c5dbcf

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -1
chatbot.py CHANGED
@@ -78,4 +78,4 @@ def demo_chain(input_text, memory):
78
  )
79
 
80
  chat_reply = conversation.invoke(input=input_text, max_new_tokens = 252)
81
- return chat_reply
 
78
  )
79
 
80
  chat_reply = conversation.invoke(input=input_text, max_new_tokens = 252)
81
+ return chat_reply["response"]