jleitefilho commited on
Commit
39629ca
·
verified ·
1 Parent(s): 6c1d2d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def detect(image):
73
  demo = gr.Interface(
74
  fn=detect,
75
  examples=["drone3.jpg", "drone.jpg", "nelore1.png", "nelore3.png", "nelore4.jpg"],
76
- inputs=[gr.inputs.Image(label="Input image", type="pil")],
77
  outputs=[gr.Image(label="Output image"), gr.BarPlot(show_label=False, x="label", y="counts", x_title="Labels", y_title="Counts", vertical=False), gr.Textbox(show_label=False)],
78
  title="Bull Counter 2.0",
79
  cache_examples=False
 
73
  demo = gr.Interface(
74
  fn=detect,
75
  examples=["drone3.jpg", "drone.jpg", "nelore1.png", "nelore3.png", "nelore4.jpg"],
76
+ inputs=[gr.components.Image(label="Input image", type="pil")],
77
  outputs=[gr.Image(label="Output image"), gr.BarPlot(show_label=False, x="label", y="counts", x_title="Labels", y_title="Counts", vertical=False), gr.Textbox(show_label=False)],
78
  title="Bull Counter 2.0",
79
  cache_examples=False