Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,10 +38,10 @@ def predict(pilimg):
|
|
38 |
return out_pilimg
|
39 |
|
40 |
|
41 |
-
|
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")
|