KvrParaskevi
commited on
Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -81,5 +81,5 @@ def demo_chain(input_text,history):
|
|
81 |
chat_reply = conversation.invoke({
|
82 |
"input" : input_text,
|
83 |
"history" : history
|
84 |
-
})
|
85 |
return chat_reply['response'] #.split('AI:')[-1]
|
|
|
81 |
chat_reply = conversation.invoke({
|
82 |
"input" : input_text,
|
83 |
"history" : history
|
84 |
+
}, return_only_outputs=True)
|
85 |
return chat_reply['response'] #.split('AI:')[-1]
|