Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def do_predict(pil_img: PIL.Image.Image):
|
|
| 98 |
EXAMPLES = [
|
| 99 |
["duo_1.jpg"],
|
| 100 |
["duo_2.jpg"],
|
| 101 |
-
["
|
| 102 |
["no_duo_2.jpg"]
|
| 103 |
]
|
| 104 |
|
|
@@ -108,9 +108,9 @@ with gradio.Blocks() as demo:
|
|
| 108 |
# Provide an introduction
|
| 109 |
gradio.Markdown("# Is Duo Here?")
|
| 110 |
gradio.Markdown("""
|
| 111 |
-
This is
|
| 112 |
-
|
| 113 |
-
|
| 114 |
""")
|
| 115 |
|
| 116 |
# Interface for the incoming image
|
|
|
|
| 98 |
EXAMPLES = [
|
| 99 |
["duo_1.jpg"],
|
| 100 |
["duo_2.jpg"],
|
| 101 |
+
["no_duo_1.jpg"],
|
| 102 |
["no_duo_2.jpg"]
|
| 103 |
]
|
| 104 |
|
|
|
|
| 108 |
# Provide an introduction
|
| 109 |
gradio.Markdown("# Is Duo Here?")
|
| 110 |
gradio.Markdown("""
|
| 111 |
+
This is an app that demonstrates a binary classifier using SebastianAndreu/2025-24679-HW1-Part2-image-autogluon-predictor model
|
| 112 |
+
based on the scottymcgee/duo-image-dataset imageset. This performs binary classification of outdoor images to see
|
| 113 |
+
if the bird from Duolingo is in them. It has an accuracy of 80% based on the model so can have errors.
|
| 114 |
""")
|
| 115 |
|
| 116 |
# Interface for the incoming image
|