Spaces:
Sleeping
Sleeping
Update calculator.py
Browse files- calculator.py +1 -1
calculator.py
CHANGED
@@ -43,7 +43,7 @@ class SimpleCalculatorTool(Tool):
|
|
43 |
"This is a tool that returns the result of a simple mathematical expression written in a string."
|
44 |
)
|
45 |
|
46 |
-
inputs = {"expression": {"type": "text", "description": "A simple arithmetical expression, with only +, -, *, /."}
|
47 |
output_type = "text"
|
48 |
|
49 |
def forward(self, expression: str):
|
|
|
43 |
"This is a tool that returns the result of a simple mathematical expression written in a string."
|
44 |
)
|
45 |
|
46 |
+
inputs = {"expression": {"type": "text", "description": "A simple arithmetical expression, with only +, -, *, /."}}
|
47 |
output_type = "text"
|
48 |
|
49 |
def forward(self, expression: str):
|