Spaces:
Sleeping
Sleeping
sum of 1 to n
Browse files
app.py
CHANGED
|
@@ -18,9 +18,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
@tool
|
| 21 |
-
def sum_one_to_n(arg:int)->
|
| 22 |
sum = n*(n+1)/2
|
| 23 |
-
return sum
|
| 24 |
|
| 25 |
@tool
|
| 26 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
@tool
|
| 21 |
+
def sum_one_to_n(arg:int)-> str:
|
| 22 |
sum = n*(n+1)/2
|
| 23 |
+
return f'sum'
|
| 24 |
|
| 25 |
@tool
|
| 26 |
def get_current_time_in_timezone(timezone: str) -> str:
|