Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
15e7cfa
1
Parent(s):
953601e
Update app.py
Browse files
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,7 +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 = gr.Image(value=image_url)
|
45 |
return image
|
46 |
|
|
|
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 |
|