Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -177,14 +177,14 @@ with gr.Blocks() as demo:
|
|
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 |
-
|
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 |
-
|
189 |
|
190 |
demo.launch()
|
|
|
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 |
+
button1.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 |
+
button1.click(testing_directcounter, input1, output3)
|
189 |
|
190 |
demo.launch()
|