ddecosmo commited on
Commit
eb02742
·
verified ·
1 Parent(s): 5c2c517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- ["no_duo.jpg"],
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 a simple app that demonstrates how to use an autogluon multimodal
112
- predictor in a gradio space to predict the contents of a picture. To use,
113
- just upload a photo. The result should be generated automatically.
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