JosephTK commited on
Commit
fa14b6f
1 Parent(s): 25f2f9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def detect(image):
71
  demo = gr.Interface(
72
  fn=detect,
73
  examples=["examples/football.jpg", "examples/cats.jpg"],
74
- inputs=[gr.inputs.Image(label="Input image", type="pil"],
75
  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)],
76
  title="YOLO Object Detection",
77
  )
 
71
  demo = gr.Interface(
72
  fn=detect,
73
  examples=["examples/football.jpg", "examples/cats.jpg"],
74
+ inputs=[gr.inputs.Image(label="Input image", type="pil")],
75
  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)],
76
  title="YOLO Object Detection",
77
  )