Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ 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="RetinaNet Inference"), gr.outputs.Textbox(type="number", label="
|
34 |
title="Microalgae Detector with RetinaNet",
|
35 |
description="This RetinaNet model counts microalgaes on a given image. Upload an image or click an example image below to use.",
|
36 |
article="<p style='text-align: center'><a href='https://dicksonneoh.com/portfolio/how_to_deploy_od_models_on_android_with_flutter/' target='_blank'>Blog post</a></p>",
|
|
|
30 |
gr_interface = gr.Interface(
|
31 |
fn=show_preds,
|
32 |
inputs=["image"],
|
33 |
+
outputs=[gr.outputs.Image(type="pil", label="RetinaNet Inference"), gr.outputs.Textbox(type="number", label="Count")],
|
34 |
title="Microalgae Detector with RetinaNet",
|
35 |
description="This RetinaNet model counts microalgaes on a given image. Upload an image or click an example image below to use.",
|
36 |
article="<p style='text-align: center'><a href='https://dicksonneoh.com/portfolio/how_to_deploy_od_models_on_android_with_flutter/' target='_blank'>Blog post</a></p>",
|