Spaces:
Sleeping
Sleeping
cyberosa
commited on
Commit
·
bee9023
1
Parent(s):
e9b6735
trying to fix the error
Browse files- tools/final_answer.py +1 -1
tools/final_answer.py
CHANGED
|
@@ -14,7 +14,7 @@ class FinalAnswerTool(Tool):
|
|
| 14 |
output_type = "any"
|
| 15 |
|
| 16 |
def forward(self, final_answer: Any) -> Any:
|
| 17 |
-
return
|
| 18 |
|
| 19 |
def __init__(self, *args, **kwargs):
|
| 20 |
self.is_initialized = False
|
|
|
|
| 14 |
output_type = "any"
|
| 15 |
|
| 16 |
def forward(self, final_answer: Any) -> Any:
|
| 17 |
+
return final_answer
|
| 18 |
|
| 19 |
def __init__(self, *args, **kwargs):
|
| 20 |
self.is_initialized = False
|