Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|