CesarLeblanc commited on
Commit
7e04c05
1 Parent(s): adbb611

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -23,7 +23,7 @@ def return_habitat_image(habitat_label):
23
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
24
  else:
25
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
26
- #image_url = "https://www.commissionoceanindien.org/wp-content/uploads/2018/07/plantnet.jpg" # While we don't have the rights
27
  image = gr.Image(value=image_url)
28
  return image
29
 
@@ -40,8 +40,7 @@ def return_species_image(species):
40
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
41
  else:
42
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
43
- #image_url = "https://www.commissionoceanindien.org/wp-content/uploads/2018/07/plantnet.jpg" # While we don't have the rights
44
- image_url = "https://files.ibot.cas.cz/cevs/images/taxa/thumbs/Eryngium_maritimum18.jpg"
45
  image = gr.Image(value=image_url)
46
  return image
47
 
 
23
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
24
  else:
25
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
26
+ image_url = "https://www.commissionoceanindien.org/wp-content/uploads/2018/07/plantnet.jpg" # While we don't have the rights
27
  image = gr.Image(value=image_url)
28
  return image
29
 
 
40
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
41
  else:
42
  image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
43
+ image_url = "https://www.commissionoceanindien.org/wp-content/uploads/2018/07/plantnet.jpg" # While we don't have the rights
 
44
  image = gr.Image(value=image_url)
45
  return image
46