Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def detect(image):
|
|
| 64 |
demo = gr.Interface(
|
| 65 |
fn=detect,
|
| 66 |
inputs=[gr.inputs.Image(label="Input image", type="pil")],
|
| 67 |
-
outputs=[gr.
|
| 68 |
title="Object Counts in Image"
|
| 69 |
)
|
| 70 |
|
|
|
|
| 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(label="Barplot", x="label", y="counts", x_title="Labels", y_title="Counts", vertical=False), gr.Textbox(label="Counts")],
|
| 68 |
title="Object Counts in Image"
|
| 69 |
)
|
| 70 |
|