Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,7 @@ class ChatbotAPP:
|
|
273 |
send = gr.Button("Send")
|
274 |
clear = gr.Button("Clear Chat")
|
275 |
send.click(self.generate, inputs=[msg], outputs=chatbot)
|
276 |
-
clear.click(self.
|
277 |
|
278 |
with gr.Tab("Reset"):
|
279 |
reset_button = gr.Button("Reset ChatBot Instance")
|
|
|
273 |
send = gr.Button("Send")
|
274 |
clear = gr.Button("Clear Chat")
|
275 |
send.click(self.generate, inputs=[msg], outputs=chatbot)
|
276 |
+
clear.click(self.clear_chat_window, inputs=[], outputs=chatbot)
|
277 |
|
278 |
with gr.Tab("Reset"):
|
279 |
reset_button = gr.Button("Reset ChatBot Instance")
|