Spaces:
Sleeping
Sleeping
fixed stored messages going as list
Browse files- Gradio_UI.py +2 -2
Gradio_UI.py
CHANGED
|
@@ -287,8 +287,8 @@ class GradioUI:
|
|
| 287 |
text_input.submit(
|
| 288 |
self.log_user_message,
|
| 289 |
[text_input, file_uploads_log],
|
| 290 |
-
|
| 291 |
-
).then(self.interact_with_agent,
|
| 292 |
|
| 293 |
demo.launch(debug=True, share=True, **kwargs)
|
| 294 |
|
|
|
|
| 287 |
text_input.submit(
|
| 288 |
self.log_user_message,
|
| 289 |
[text_input, file_uploads_log],
|
| 290 |
+
stored_messages, text_input,
|
| 291 |
+
).then(self.interact_with_agent, stored_messages, stored_messages, [chatbot])
|
| 292 |
|
| 293 |
demo.launch(debug=True, share=True, **kwargs)
|
| 294 |
|