Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,9 +17,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
-
|
| 21 |
-
user_age=arg2
|
| 22 |
-
return f"Your name is {user_name} and you have {user_age} years old."
|
| 23 |
except Exception as e:
|
| 24 |
return f"Error fetching values '{arg1}' '{arg2}': {str(e)}"
|
| 25 |
|
|
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
+
return f"The first argument is {arg1} and the second is {arg2}."
|
|
|
|
|
|
|
| 21 |
except Exception as e:
|
| 22 |
return f"Error fetching values '{arg1}' '{arg2}': {str(e)}"
|
| 23 |
|