Spaces:
Runtime error
Runtime error
clear button
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ with gr.Blocks() as demo:
|
|
236 |
with gr.Group():
|
237 |
chatbot = gr.Chatbot()
|
238 |
question = gr.Textbox()
|
239 |
-
clear = gr.ClearButton([
|
240 |
|
241 |
msg.submit(
|
242 |
chatbot_respond,
|
|
|
236 |
with gr.Group():
|
237 |
chatbot = gr.Chatbot()
|
238 |
question = gr.Textbox()
|
239 |
+
clear = gr.ClearButton([question, chatbot])
|
240 |
|
241 |
msg.submit(
|
242 |
chatbot_respond,
|