Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,11 +10,11 @@ from Gradio_UI import GradioUI
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
def my_cutom_tool(animal_category: str) -> str: #it's import to specify the return type
|
| 13 |
-
|
| 14 |
|
| 15 |
# Args:
|
| 16 |
# animal_category: The category of animal (e.g., 'mammals', 'birds', 'reptiles')
|
| 17 |
-
|
| 18 |
animal_facts = {
|
| 19 |
'mammals': [
|
| 20 |
"A group of flamingos is called a 'flamboyance'.",
|
|
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
def my_cutom_tool(animal_category: str) -> str: #it's import to specify the return type
|
| 13 |
+
""" A tool that provides a random fun fact about animals.
|
| 14 |
|
| 15 |
# Args:
|
| 16 |
# animal_category: The category of animal (e.g., 'mammals', 'birds', 'reptiles')
|
| 17 |
+
"""
|
| 18 |
animal_facts = {
|
| 19 |
'mammals': [
|
| 20 |
"A group of flamingos is called a 'flamboyance'.",
|