Update app.py
Browse files
app.py
CHANGED
|
@@ -75,10 +75,6 @@ flowers_endangerment = {
|
|
| 75 |
"goldfields coreopsis": "Varies by species; many not endangered."
|
| 76 |
}
|
| 77 |
|
| 78 |
-
def get_status(flower_name):
|
| 79 |
-
"""Return the endangerment status of a given flower name."""
|
| 80 |
-
return flowers_endangerment.get(flower_name, "Flower not found in database.")
|
| 81 |
-
|
| 82 |
# Templates for AI image generation
|
| 83 |
prompt_templates = [
|
| 84 |
"A dreamy watercolor scene of a {flower} on a misty morning trail, with golden sunbeams filtering through towering redwoods, and a curious hummingbird hovering nearby.",
|
|
|
|
| 75 |
"goldfields coreopsis": "Varies by species; many not endangered."
|
| 76 |
}
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
# Templates for AI image generation
|
| 79 |
prompt_templates = [
|
| 80 |
"A dreamy watercolor scene of a {flower} on a misty morning trail, with golden sunbeams filtering through towering redwoods, and a curious hummingbird hovering nearby.",
|