Spaces:
Sleeping
Sleeping
Update
Browse files
app.py
CHANGED
|
@@ -26,8 +26,8 @@ REPO_ID = "ITI121-25S2/7080274J"
|
|
| 26 |
detection_model = load_model(REPO_ID)
|
| 27 |
|
| 28 |
gr.Interface(fn=predict,
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
| 26 |
detection_model = load_model(REPO_ID)
|
| 27 |
|
| 28 |
gr.Interface(fn=predict,
|
| 29 |
+
inputs=gr.Image(type="pil", label="Input Image"),
|
| 30 |
+
outputs=gr.Image(type="pil", label="Detected Image"),
|
| 31 |
+
title="Durian and Mangosteen Detector",
|
| 32 |
+
description="Upload an image to detect durians and mangosteens using a YOLOv11 model trained on a custom dataset. Developed by Cheng Soon Teck."
|
| 33 |
+
).launch(share=True)
|