Commit ·
5a41c05
1
Parent(s): 4382a6f
Predict loop issue fix
Browse files
app.py
CHANGED
|
@@ -325,12 +325,12 @@ def create_interface():
|
|
| 325 |
outputs=[label_output, main_output, gr.Textbox(visible=False)]
|
| 326 |
)
|
| 327 |
|
| 328 |
-
# Also trigger on image upload
|
| 329 |
-
image_input.change(
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
)
|
| 334 |
|
| 335 |
return demo
|
| 336 |
|
|
|
|
| 325 |
outputs=[label_output, main_output, gr.Textbox(visible=False)]
|
| 326 |
)
|
| 327 |
|
| 328 |
+
# # Also trigger on image upload
|
| 329 |
+
# image_input.change(
|
| 330 |
+
# fn=predict,
|
| 331 |
+
# inputs=image_input,
|
| 332 |
+
# outputs=[label_output, main_output, gr.Textbox(visible=False)]
|
| 333 |
+
# )
|
| 334 |
|
| 335 |
return demo
|
| 336 |
|