Spaces:
Build error
Build error
Update utils/chatbot_interface_test2.py
Browse files
utils/chatbot_interface_test2.py
CHANGED
|
@@ -119,7 +119,7 @@ class ChatbotInterface:
|
|
| 119 |
type="messages"
|
| 120 |
)
|
| 121 |
|
| 122 |
-
|
| 123 |
|
| 124 |
logging.info("Gradio interface created successfully.")
|
| 125 |
return demo
|
|
|
|
| 119 |
type="messages"
|
| 120 |
)
|
| 121 |
|
| 122 |
+
chatbot_output.clear(clear_history, outputs=[chatbot_output])
|
| 123 |
|
| 124 |
logging.info("Gradio interface created successfully.")
|
| 125 |
return demo
|