Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
7f326dc
1
Parent(s):
f37b5da
Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ with gr.Blocks() as demo:
|
|
171 |
gr.Markdown("""<h5 style="text-align: center;">An example of input</h5>""")
|
172 |
gr.Examples([["vaccinium myrtillus, dryopteris dilatata, molinia caerulea"]], [species_2], [image_output_1, image_output_2], masking, True)
|
173 |
|
174 |
-
text_button.click(classification, inputs=[species
|
175 |
image_button.click(masking, inputs=[species_2], outputs=[image_output_1, image_output_2])
|
176 |
|
177 |
demo.launch()
|
|
|
171 |
gr.Markdown("""<h5 style="text-align: center;">An example of input</h5>""")
|
172 |
gr.Examples([["vaccinium myrtillus, dryopteris dilatata, molinia caerulea"]], [species_2], [image_output_1, image_output_2], masking, True)
|
173 |
|
174 |
+
text_button.click(classification, inputs=[species], outputs=[text_output_1, text_output_2])
|
175 |
image_button.click(masking, inputs=[species_2], outputs=[image_output_1, image_output_2])
|
176 |
|
177 |
demo.launch()
|