Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,9 +30,9 @@ def show_preds(input_image):
|
|
| 30 |
gr_interface = gr.Interface(
|
| 31 |
fn=show_preds,
|
| 32 |
inputs=["image"],
|
| 33 |
-
outputs=[gr.outputs.Image(type="pil", label="
|
| 34 |
-
title="Detector
|
| 35 |
-
description="This
|
| 36 |
article="",
|
| 37 |
examples=examples,
|
| 38 |
theme="dark-grass",
|
|
|
|
| 30 |
gr_interface = gr.Interface(
|
| 31 |
fn=show_preds,
|
| 32 |
inputs=["image"],
|
| 33 |
+
outputs=[gr.outputs.Image(type="pil", label=" Inference"), gr.outputs.Textbox(type="number", label="Count")],
|
| 34 |
+
title="Detector",
|
| 35 |
+
description="This model counts on a given image. Upload an image or click an example image below to use.",
|
| 36 |
article="",
|
| 37 |
examples=examples,
|
| 38 |
theme="dark-grass",
|