Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ with gr.Blocks() as demo:
|
|
| 40 |
|
| 41 |
# אירועים
|
| 42 |
image_input.change(loading_animation, inputs=image_input, outputs=[animation, output_label, output_confidence])
|
| 43 |
-
image_input.
|
| 44 |
|
| 45 |
# השקת הממשק
|
| 46 |
demo.launch()
|
|
|
|
| 40 |
|
| 41 |
# אירועים
|
| 42 |
image_input.change(loading_animation, inputs=image_input, outputs=[animation, output_label, output_confidence])
|
| 43 |
+
image_input.submit(show_results, inputs=image_input, outputs=[animation, output_label, output_confidence])
|
| 44 |
|
| 45 |
# השקת הממשק
|
| 46 |
demo.launch()
|