JosephTK commited on
Commit
9761ba8
1 Parent(s): bfa8e42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def detect(image):
64
  demo = gr.Interface(
65
  fn=detect,
66
  examples=["examples/football.jpg", "examples/cats.jpg"],
67
- inputs=[gr.inputs.Image(label="Input image", type="pil", shape=(400, None))],
68
  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)],
69
  title="YOLO Object Detection",
70
  )
 
64
  demo = gr.Interface(
65
  fn=detect,
66
  examples=["examples/football.jpg", "examples/cats.jpg"],
67
+ inputs=[gr.inputs.Image(label="Input image", type="pil", shape=(400, 360))],
68
  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)],
69
  title="YOLO Object Detection",
70
  )