Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
f4479ea
1
Parent(s):
f01b949
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,7 @@ def return_habitat_image(habitat_label, habitat_score, confidence):
|
|
28 |
image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
|
29 |
if habitat_score*100 < confidence:
|
30 |
image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
|
31 |
-
|
32 |
-
image_url = "https://files.ibot.cas.cz/cevs/images/syntaxa/large/Rorippo-Phalaridetum_arundinaceae1.jpg"
|
33 |
image = gr.Image(value=image_url)
|
34 |
return image
|
35 |
|
|
|
28 |
image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
|
29 |
if habitat_score*100 < confidence:
|
30 |
image_url = "https://www.salonlfc.com/wp-content/uploads/2018/01/image-not-found-scaled-1150x647.png"
|
31 |
+
image_url = "https://www.commissionoceanindien.org/wp-content/uploads/2018/07/plantnet.jpg"
|
|
|
32 |
image = gr.Image(value=image_url)
|
33 |
return image
|
34 |
|