Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,8 +33,9 @@ gr_interface = gr.Interface(
|
|
| 33 |
outputs=[gr.outputs.Image(type="pil", label="RetinaNet Inference"), gr.outputs.Textbox(type="number", label="Microalgae 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/' target='_blank'>Blog post</a></p>",
|
| 37 |
examples=examples,
|
| 38 |
theme="dark-grass",
|
|
|
|
| 39 |
)
|
| 40 |
-
gr_interface.launch(
|
|
|
|
| 33 |
outputs=[gr.outputs.Image(type="pil", label="RetinaNet Inference"), gr.outputs.Textbox(type="number", label="Microalgae 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>",
|
| 37 |
examples=examples,
|
| 38 |
theme="dark-grass",
|
| 39 |
+
enable_queue=True
|
| 40 |
)
|
| 41 |
+
gr_interface.launch()
|