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