Spaces:
Runtime error
Runtime error
Update app.py
#1
by ArpitM - opened
app.py
CHANGED
|
@@ -312,8 +312,8 @@ with gr.Blocks(
|
|
| 312 |
],
|
| 313 |
[chatbot, state],
|
| 314 |
)
|
| 315 |
-
b1.click(reset_textbox, [], [inputs])
|
| 316 |
-
inputs.submit(reset_textbox, [], [inputs])
|
| 317 |
|
| 318 |
gr.Markdown(description)
|
| 319 |
demo.queue(concurrency_count=16).launch(debug=True)
|
|
|
|
| 312 |
],
|
| 313 |
[chatbot, state],
|
| 314 |
)
|
| 315 |
+
b1.click(reset_textbox, [], [inputs] ,api_name = "button")
|
| 316 |
+
inputs.submit(reset_textbox, [], [inputs] , api_name = "text")
|
| 317 |
|
| 318 |
gr.Markdown(description)
|
| 319 |
demo.queue(concurrency_count=16).launch(debug=True)
|