Harsha7989 commited on
Commit
b4fd521
·
verified ·
1 Parent(s): 95d4ff9

sum of 1 to n

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)-> 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: