Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
ca9ec8b
1
Parent(s):
b8df8bd
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks() as demo:
|
|
95 |
image_output_2 = gr.Image()
|
96 |
image_button = gr.Button("Find")
|
97 |
|
98 |
-
text_button.click(classification, inputs=[species, typology, confidence
|
99 |
-
image_button.click(masking, inputs=[species_2
|
100 |
|
101 |
demo.launch()
|
|
|
95 |
image_output_2 = gr.Image()
|
96 |
image_button = gr.Button("Find")
|
97 |
|
98 |
+
text_button.click(classification, inputs=[species, typology, confidence], outputs=[text_output_1, text_output_2])
|
99 |
+
image_button.click(masking, inputs=[species_2], outputs=[image_output_1, image_output_2])
|
100 |
|
101 |
demo.launch()
|