Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -175,16 +175,16 @@ with gr.Blocks() as demo:
|
|
175 |
|
176 |
with gr.Tab("Yolocounter-based insect counter"):
|
177 |
with gr.Row():
|
178 |
-
input2 = gr.Image()
|
179 |
output2 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
|
180 |
button2 = gr.Button("Submit")
|
181 |
-
button2.click(testing_yolocounter,
|
182 |
|
183 |
with gr.Tab("Direct insect counter"):
|
184 |
with gr.Row():
|
185 |
-
input3 = gr.Image()
|
186 |
output3 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
|
187 |
button3 = gr.Button("Submit")
|
188 |
-
button3.click(testing_directcounter,
|
189 |
|
190 |
demo.launch()
|
|
|
175 |
|
176 |
with gr.Tab("Yolocounter-based insect counter"):
|
177 |
with gr.Row():
|
178 |
+
#input2 = gr.Image()
|
179 |
output2 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
|
180 |
button2 = gr.Button("Submit")
|
181 |
+
button2.click(testing_yolocounter, input1, output2)
|
182 |
|
183 |
with gr.Tab("Direct insect counter"):
|
184 |
with gr.Row():
|
185 |
+
#input3 = gr.Image()
|
186 |
output3 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
|
187 |
button3 = gr.Button("Submit")
|
188 |
+
button3.click(testing_directcounter, input1, output3)
|
189 |
|
190 |
demo.launch()
|