Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,8 +83,8 @@ class BasicAgent:
|
|
| 83 |
f"{question}\n\nIf you have enough information, respond with a concise final answer.",
|
| 84 |
max_iterations=10
|
| 85 |
)
|
| 86 |
-
|
| 87 |
-
return self.extract_answer(str(answer));
|
| 88 |
# if hasattr(answer, "output"):
|
| 89 |
# print(f"Agent returning answer: {answer}")
|
| 90 |
# return str(answer.output)
|
|
|
|
| 83 |
f"{question}\n\nIf you have enough information, respond with a concise final answer.",
|
| 84 |
max_iterations=10
|
| 85 |
)
|
| 86 |
+
return str(answer)
|
| 87 |
+
#return self.extract_answer(str(answer));
|
| 88 |
# if hasattr(answer, "output"):
|
| 89 |
# print(f"Agent returning answer: {answer}")
|
| 90 |
# return str(answer.output)
|