Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -347,6 +347,8 @@ def build_interface(model_path, class_names_path, example_images=None):
|
|
| 347 |
with gr.Blocks(title="Blood Cell Detection") as demo:
|
| 348 |
gr.Markdown("# Blood Cell Detection")
|
| 349 |
gr.Markdown("Upload an image to detect blood cells. The model can detect 3 types of blood cells: red blood cells, white blood cells and platelets.")
|
|
|
|
|
|
|
| 350 |
|
| 351 |
with gr.Row():
|
| 352 |
with gr.Column():
|
|
@@ -395,6 +397,10 @@ def build_interface(model_path, class_names_path, example_images=None):
|
|
| 395 |
outputs=[output_image, output_message, count_plot],
|
| 396 |
)
|
| 397 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 398 |
return demo
|
| 399 |
|
| 400 |
|
|
|
|
| 347 |
with gr.Blocks(title="Blood Cell Detection") as demo:
|
| 348 |
gr.Markdown("# Blood Cell Detection")
|
| 349 |
gr.Markdown("Upload an image to detect blood cells. The model can detect 3 types of blood cells: red blood cells, white blood cells and platelets.")
|
| 350 |
+
gr.Markdown("Model is trained using DEIM-D-FINE model N.")
|
| 351 |
+
|
| 352 |
|
| 353 |
with gr.Row():
|
| 354 |
with gr.Column():
|
|
|
|
| 397 |
outputs=[output_image, output_message, count_plot],
|
| 398 |
)
|
| 399 |
|
| 400 |
+
with gr.Row():
|
| 401 |
+
with gr.Column():
|
| 402 |
+
gr.HTML("<div style='text-align: center; margin: 0 auto;'>Created by <a href='https://dicksonneoh.com' target='_blank'>Dickson Neoh</a>.</div>")
|
| 403 |
+
|
| 404 |
return demo
|
| 405 |
|
| 406 |
|