Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def dog_average_longevity(dog_breed: str)-> str:
|
|
| 27 |
for result in results:
|
| 28 |
lifespan = extract_lifespan(result)
|
| 29 |
if lifespan:
|
| 30 |
-
return f"The average lifespan of a {
|
| 31 |
|
| 32 |
return "No reliable lifespan information found. Please check with a veterinarian."
|
| 33 |
|
|
|
|
| 27 |
for result in results:
|
| 28 |
lifespan = extract_lifespan(result)
|
| 29 |
if lifespan:
|
| 30 |
+
return f"The average lifespan of a {dog_breed} is {lifespan} years."
|
| 31 |
|
| 32 |
return "No reliable lifespan information found. Please check with a veterinarian."
|
| 33 |
|