alanwnl commited on
Commit
d974a69
·
1 Parent(s): 088b84b

clear button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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([msg, chatbot])
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,