kanli commited on
Commit
da2cdfb
·
1 Parent(s): bf41f61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as r
54
  submit_btn = gr.Button("提交")
55
  txt.submit(answer, [txt, state], [chatbot, state])
56
  submit_btn.click(answer, [txt, state], [chatbot, state])
57
- clear = gr.ClearButton([msg, chatbot])
58
 
59
  rxbot.launch()
60
 
 
54
  submit_btn = gr.Button("提交")
55
  txt.submit(answer, [txt, state], [chatbot, state])
56
  submit_btn.click(answer, [txt, state], [chatbot, state])
57
+ clear = gr.ClearButton([txt, chatbot])
58
 
59
  rxbot.launch()
60