Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,11 +12,11 @@ from Gradio_UI import GradioUI
|
|
| 12 |
def dog_average_longevity(dog_breed: str)-> str:
|
| 13 |
"""A tool that uses DuckDuckGo to search the web and find the average lifespan in years for a given dog breed.
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
"""
|
| 21 |
query = f"average lifespan for {dog_breed} dog in years"
|
| 22 |
|
|
|
|
| 12 |
def dog_average_longevity(dog_breed: str)-> str:
|
| 13 |
"""A tool that uses DuckDuckGo to search the web and find the average lifespan in years for a given dog breed.
|
| 14 |
|
| 15 |
+
Tool name : dog_average_longevity
|
| 16 |
+
Args:
|
| 17 |
+
arg1: dog_breed : a string representing the name of the dog breed.
|
| 18 |
|
| 19 |
+
return : The extracted average lifespan of a dog breed in years or a fallback message.
|
| 20 |
"""
|
| 21 |
query = f"average lifespan for {dog_breed} dog in years"
|
| 22 |
|