eocone commited on
Commit
16e90ee
·
verified ·
1 Parent(s): 0a09256

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 {breed} is {lifespan} years."
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