Jason-NYP commited on
Commit
445cc2d
·
verified ·
1 Parent(s): 133fa5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,10 +38,10 @@ def predict(pilimg):
38
  return out_pilimg
39
 
40
 
41
- #REPO_ID = "Jason-NYP/6304871K"
42
  REPO_ID = "ITI107-2024S2/6304871K"
43
  detection_model = load_model(REPO_ID)
44
-
45
  gr.Interface(fn=predict,
46
  inputs=gr.Image(type="pil"),
47
  outputs=gr.Image(type="pil")
 
38
  return out_pilimg
39
 
40
 
41
+
42
  REPO_ID = "ITI107-2024S2/6304871K"
43
  detection_model = load_model(REPO_ID)
44
+ title = "Detection of Pineapple and Sweet Potato in uploaded Image"
45
  gr.Interface(fn=predict,
46
  inputs=gr.Image(type="pil"),
47
  outputs=gr.Image(type="pil")