ezamorag commited on
Commit
773e6fa
·
1 Parent(s): fab9fa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -182,14 +182,14 @@ with gr.Blocks() as demo:
182
  with gr.Tab("Species & Common Name Count"):
183
  with gr.Row():
184
  input1 = gr.Image()
185
- output1 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
186
  button1 = gr.Button("Submit")
187
  button1.click(testing_countingid, input1, output1)
188
 
189
  with gr.Tab("Simplified Scientific Name Count"):
190
  with gr.Row():
191
  #input2 = gr.Image()
192
- output2 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
193
  #button2 = gr.Button("Submit")
194
  button1.click(testing_yolocounter, input1, output2)
195
 
@@ -207,7 +207,7 @@ with gr.Blocks() as demo:
207
  """ with gr.Tab("Direct insect counter"):
208
  with gr.Row():
209
  #input3 = gr.Image()
210
- output3 =[gr.Image().style(height=500, width=500), gr.Textbox(lines=20)]
211
  #button3 = gr.Button("Submit")
212
  button1.click(testing_directcounter, input1, output3)
213
  """
 
182
  with gr.Tab("Species & Common Name Count"):
183
  with gr.Row():
184
  input1 = gr.Image()
185
+ output1 =[gr.Image(height=500, width=500), gr.Textbox(lines=20)]
186
  button1 = gr.Button("Submit")
187
  button1.click(testing_countingid, input1, output1)
188
 
189
  with gr.Tab("Simplified Scientific Name Count"):
190
  with gr.Row():
191
  #input2 = gr.Image()
192
+ output2 =[gr.Image(height=500, width=500), gr.Textbox(lines=20)]
193
  #button2 = gr.Button("Submit")
194
  button1.click(testing_yolocounter, input1, output2)
195
 
 
207
  """ with gr.Tab("Direct insect counter"):
208
  with gr.Row():
209
  #input3 = gr.Image()
210
+ output3 =[gr.Image(height=500, width=500), gr.Textbox(lines=20)]
211
  #button3 = gr.Button("Submit")
212
  button1.click(testing_directcounter, input1, output3)
213
  """