ezamorag commited on
Commit
4946aa6
1 Parent(s): b04c6e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- 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()
 
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()