Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -168,21 +168,21 @@ with gr.Blocks() as demo:
|
|
168 |
|
169 |
with gr.Tab("DetClaSim-based insect counter"):
|
170 |
with gr.Row():
|
171 |
-
input1 = gr.Image(
|
172 |
output1 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
|
173 |
button1 = gr.Button("Submit")
|
174 |
button1.click(testing_countingid, input1, output1)
|
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, input2, 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, input3, output3)
|
|
|
168 |
|
169 |
with gr.Tab("DetClaSim-based insect counter"):
|
170 |
with gr.Row():
|
171 |
+
input1 = gr.Image()
|
172 |
output1 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
|
173 |
button1 = gr.Button("Submit")
|
174 |
button1.click(testing_countingid, input1, output1)
|
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, input2, 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, input3, output3)
|