Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 22 |
def name_facts(name:str)-> str:
|
| 23 |
"""A tool that provides fun facts and history about a given name
|
| 24 |
Args:
|
| 25 |
-
|
| 26 |
"""
|
| 27 |
try:
|
| 28 |
search_tool = DuckDuckGoSearchTool()
|
|
@@ -34,9 +34,9 @@ def name_facts(name:str)-> str:
|
|
| 34 |
def healthy_check(age:int, height:int, weight:int)-> str:
|
| 35 |
"""A tool that checks if the given age, height, and weight statistics are considered healthy or not
|
| 36 |
Args:
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
"""
|
| 41 |
try:
|
| 42 |
search_tool = DuckDuckGoSearchTool()
|
|
@@ -48,9 +48,9 @@ def healthy_check(age:int, height:int, weight:int)-> str:
|
|
| 48 |
def conversation_image(conversation:str, user:str, user_description:str)-> str:
|
| 49 |
"""A tool that does nothing yet
|
| 50 |
Args:
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
"""
|
| 55 |
return "What magic will you build ?"
|
| 56 |
|
|
|
|
| 22 |
def name_facts(name:str)-> str:
|
| 23 |
"""A tool that provides fun facts and history about a given name
|
| 24 |
Args:
|
| 25 |
+
name: the given name to analyze
|
| 26 |
"""
|
| 27 |
try:
|
| 28 |
search_tool = DuckDuckGoSearchTool()
|
|
|
|
| 34 |
def healthy_check(age:int, height:int, weight:int)-> str:
|
| 35 |
"""A tool that checks if the given age, height, and weight statistics are considered healthy or not
|
| 36 |
Args:
|
| 37 |
+
age: the age of the person in years
|
| 38 |
+
height: the height of the person in cm
|
| 39 |
+
weight: the weight of the person in lbs
|
| 40 |
"""
|
| 41 |
try:
|
| 42 |
search_tool = DuckDuckGoSearchTool()
|
|
|
|
| 48 |
def conversation_image(conversation:str, user:str, user_description:str)-> str:
|
| 49 |
"""A tool that does nothing yet
|
| 50 |
Args:
|
| 51 |
+
conversation: the first argument
|
| 52 |
+
user: the second argument
|
| 53 |
+
user_description: the third
|
| 54 |
"""
|
| 55 |
return "What magic will you build ?"
|
| 56 |
|