Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,10 +17,10 @@ def calculate(arg1:int, arg2:int)-> str: #it's import to specify the return type
|
|
| 17 |
arg2 (int): The second integer number.
|
| 18 |
|
| 19 |
Returns:
|
| 20 |
-
str: The sum of arg1 and arg2 as a
|
| 21 |
"""
|
| 22 |
|
| 23 |
-
return (arg1+arg2
|
| 24 |
@tool
|
| 25 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 26 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 17 |
arg2 (int): The second integer number.
|
| 18 |
|
| 19 |
Returns:
|
| 20 |
+
str: The sum of arg1 and arg2 as a string.
|
| 21 |
"""
|
| 22 |
|
| 23 |
+
return str(arg1+arg2)
|
| 24 |
@tool
|
| 25 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 26 |
"""A tool that fetches the current local time in a specified timezone.
|