Spaces:
Sleeping
Sleeping
Update BasicAgent.py
Browse files- BasicAgent.py +1 -1
BasicAgent.py
CHANGED
@@ -27,7 +27,7 @@ class newAgent:
|
|
27 |
def __call__(self, question: str) -> str:
|
28 |
"""ONE question in β ONE pure-text answer out."""
|
29 |
# β Replace .run with whatever method actually returns the answer string.
|
30 |
-
return
|
31 |
|
32 |
#agent.run(
|
33 |
# "At what temperature and for how long should I bake French baguettes made with type 65 flour?",
|
|
|
27 |
def __call__(self, question: str) -> str:
|
28 |
"""ONE question in β ONE pure-text answer out."""
|
29 |
# β Replace .run with whatever method actually returns the answer string.
|
30 |
+
return str(answer)
|
31 |
|
32 |
#agent.run(
|
33 |
# "At what temperature and for how long should I bake French baguettes made with type 65 flour?",
|