m-ric commited on
Commit
fe6fad1
·
verified ·
1 Parent(s): b834f1c

Update calculator.py

Browse files
Files changed (1) hide show
  1. 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):