tecklah commited on
Commit
38498fb
·
1 Parent(s): b0068ce
Files changed (1) hide show
  1. app.py +5 -5
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
- 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."
33
- ).launch(share=True)
 
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)