Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def calculator(expression: str)-> str: # Returns a string result
|
|
| 14 |
A tool that evaluates a mathematical expression using the Wolfram Alpha API.
|
| 15 |
|
| 16 |
Args:
|
| 17 |
-
expression
|
| 18 |
|
| 19 |
Returns:
|
| 20 |
str: The result of the calculation if successful, or an error message if the request fails.
|
|
|
|
| 14 |
A tool that evaluates a mathematical expression using the Wolfram Alpha API.
|
| 15 |
|
| 16 |
Args:
|
| 17 |
+
expression: A mathematical expression to solve (e.g., "1+2", "3*5").
|
| 18 |
|
| 19 |
Returns:
|
| 20 |
str: The result of the calculation if successful, or an error message if the request fails.
|