Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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([
|
| 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 |
|