Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,7 @@ def detect(image):
|
|
63 |
|
64 |
demo = gr.Interface(
|
65 |
fn=detect,
|
|
|
66 |
inputs=[gr.inputs.Image(label="Input image", type="pil")],
|
67 |
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)],
|
68 |
title="YOLO Object Detection"
|
|
|
63 |
|
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")],
|
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"
|