lombardata commited on
Commit
ddf8f93
1 Parent(s): 844710d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -87,7 +87,7 @@ def predict_wrapper(image, slider_threshold=0.5):
87
 
88
 
89
  # Define style
90
- title = "Victor - DinoVd'eau image classification"
91
  model_link = "https://huggingface.co/" + checkpoint_name
92
  description = f"This application showcases the capability of artificial intelligence-based systems to identify objects within underwater images. To utilize it, you can either upload your own image or select one of the provided examples for analysis.\nFor predictions, we use this [open-source model]({model_link})"
93
  description = ("This application showcases the capability of artificial intelligence-based systems "
@@ -107,8 +107,4 @@ iface = gr.Interface(
107
  gr.components.Label(label="Slider Threshold Predictions")
108
  ],
109
  title=title,
110
- description=full_description,
111
- examples=[["session_GOPR0106.JPG"],
112
- ["session_2021_08_30_Mayotte_10_image_00066.jpg"],
113
- ["session_2018_11_17_kite_Le_Morne_Manawa_G0065777.JPG"],
114
- ["session_2023_06_28_caplahoussaye_plancha_body_v1B_00_GP1_3_1327.jpeg"]]).launch()
 
87
 
88
 
89
  # Define style
90
+ title = "Aina image classification"
91
  model_link = "https://huggingface.co/" + checkpoint_name
92
  description = f"This application showcases the capability of artificial intelligence-based systems to identify objects within underwater images. To utilize it, you can either upload your own image or select one of the provided examples for analysis.\nFor predictions, we use this [open-source model]({model_link})"
93
  description = ("This application showcases the capability of artificial intelligence-based systems "
 
107
  gr.components.Label(label="Slider Threshold Predictions")
108
  ],
109
  title=title,
110
+ description=full_description).launch()