Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
)
|