mihaigheorghe commited on
Commit
139b640
·
verified ·
1 Parent(s): cf19a9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def perform_web_search(query: str) -> str:
45
  return result
46
 
47
  @tool
48
- perform_mathematical_operations(expression: str) -> float:
49
  """A tool that takes a string as a simple mathematical expression, evaluates it, and returns the result
50
  Args:
51
  expression: a string that can be interpreted as a simple mathematical expression, syntactically correct without any changes.
 
45
  return result
46
 
47
  @tool
48
+ def perform_mathematical_operations(expression: str) -> float:
49
  """A tool that takes a string as a simple mathematical expression, evaluates it, and returns the result
50
  Args:
51
  expression: a string that can be interpreted as a simple mathematical expression, syntactically correct without any changes.