Commit
·
2d07292
1
Parent(s):
5d5659b
Fixed issue with string interpolation.
Browse files
app.py
CHANGED
|
@@ -21,7 +21,8 @@ class BasicAgent:
|
|
| 21 |
"task_id": task_id,
|
| 22 |
"question": question,
|
| 23 |
})
|
| 24 |
-
|
|
|
|
| 25 |
return task["final_answer"]
|
| 26 |
|
| 27 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
|
| 21 |
"task_id": task_id,
|
| 22 |
"question": question,
|
| 23 |
})
|
| 24 |
+
final_answer = task.get("final_answer")
|
| 25 |
+
print(f"Agent returning fixed answer: {final_answer}")
|
| 26 |
return task["final_answer"]
|
| 27 |
|
| 28 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|