Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ with gr.Blocks(css=css, title="家庭医生AI助手") as iface:
|
|
| 137 |
|
| 138 |
# Set up the event listeners
|
| 139 |
submit_btn.click(main, inputs=[text_input, image_input, unit], outputs=output_box)
|
| 140 |
-
submit_btn.click(refresh, every=
|
| 141 |
|
| 142 |
|
| 143 |
#gr.close_all()
|
|
|
|
| 137 |
|
| 138 |
# Set up the event listeners
|
| 139 |
submit_btn.click(main, inputs=[text_input, image_input, unit], outputs=output_box)
|
| 140 |
+
submit_btn.click(refresh, every=10, outputs=output_box)
|
| 141 |
|
| 142 |
|
| 143 |
#gr.close_all()
|