Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,8 +64,8 @@ def detect(image):
|
|
64 |
demo = gr.Interface(
|
65 |
fn=detect,
|
66 |
inputs=[gr.inputs.Image(label="Input image", type="pil")],
|
67 |
-
outputs=[gr.Image(
|
68 |
-
title="Object
|
69 |
)
|
70 |
|
71 |
demo.launch()
|
|
|
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"
|
69 |
)
|
70 |
|
71 |
demo.launch()
|