Sborole commited on
Commit
d11a15b
·
verified ·
1 Parent(s): ec0eab0

Update tools/FinalAnswerTool.py

Browse files
Files changed (1) hide show
  1. tools/FinalAnswerTool.py +1 -1
tools/FinalAnswerTool.py CHANGED
@@ -18,7 +18,7 @@ class FinalAnswerTool(Tool):
18
 
19
  def forward(self, answer: str) -> str:
20
  if answer is None:
21
- return "NA"
22
 
23
  answer = str(answer)
24
  match = re.search(r'boxed\{([^}]+)\}', answer)
 
18
 
19
  def forward(self, answer: str) -> str:
20
  if answer is None:
21
+ return "NA"
22
 
23
  answer = str(answer)
24
  match = re.search(r'boxed\{([^}]+)\}', answer)