faiyazansariusa commited on
Commit
7f7d3ae
·
verified ·
1 Parent(s): 9267abc

Update app.py

Browse files

added commentFaiyaz for verification

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,9 +35,9 @@ def calculator(operation: str, num1: float, num2: float) -> str:
35
  else:
36
  return "Error: Unsupported operation."
37
 
38
- return f"The result of {operation}ing {num1} and {num2} is: {result}"
39
  except Exception as e:
40
- return f"Error performing calculation: {str(e)}"
41
 
42
  # tool for attractions
43
  @tool
 
35
  else:
36
  return "Error: Unsupported operation."
37
 
38
+ return f"The result of {operation}ing {num1} and {num2} is: {result} :- It was executed by Faiyaz"
39
  except Exception as e:
40
+ return f"Error performing calculation: {str(e)} "
41
 
42
  # tool for attractions
43
  @tool