LalithaSaiDevi commited on
Commit
1ab8e61
·
verified ·
1 Parent(s): 2c19932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def my_custom_tool(arg1:int, arg2:int)-> int: #it's import to specify the return
20
  #Caluculation object
21
  cal = sum(arg1,arg2)
22
  return f"The sum of {arg1} and {arg2} is {cal}"
23
- except Exceptionas e:
24
  return f"Error fetching sum for {arg1} and {arg2}"
25
 
26
  @tool
 
20
  #Caluculation object
21
  cal = sum(arg1,arg2)
22
  return f"The sum of {arg1} and {arg2} is {cal}"
23
+ except Exception as e:
24
  return f"Error fetching sum for {arg1} and {arg2}"
25
 
26
  @tool