Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,12 @@ class BasicAgent:
|
|
| 44 |
)
|
| 45 |
|
| 46 |
# Get the actual answer from the agent
|
| 47 |
-
answer = agent.run(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
return str(answer) # Ensure it's a string
|
| 49 |
|
| 50 |
#fixed_answer = agent
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
# Get the actual answer from the agent
|
| 47 |
+
answer = agent.run(f"""Provide only what is requested in answer SHORTLY.
|
| 48 |
+
If there is requested to provide ONE word or the sequence, provide it.
|
| 49 |
+
This is for the benchmark, so the answer should be REALLY ACCURATE.
|
| 50 |
+
Here is the question:
|
| 51 |
+
{question}
|
| 52 |
+
""") # Assuming run() returns the answer
|
| 53 |
return str(answer) # Ensure it's a string
|
| 54 |
|
| 55 |
#fixed_answer = agent
|