Spaces:
Sleeping
Sleeping
fixing issues
Browse files
app.py
CHANGED
|
@@ -121,7 +121,8 @@ def run_and_submit_all(
|
|
| 121 |
submitted_answer = agent.builder.invoke(
|
| 122 |
input={'messages': question_text,
|
| 123 |
'file_path': file_path}
|
| 124 |
-
)
|
|
|
|
| 125 |
answers_payload.append(
|
| 126 |
{"task_id": task_id, "submitted_answer": submitted_answer}
|
| 127 |
)
|
|
|
|
| 121 |
submitted_answer = agent.builder.invoke(
|
| 122 |
input={'messages': question_text,
|
| 123 |
'file_path': file_path}
|
| 124 |
+
).get('messages')[-1].content
|
| 125 |
+
|
| 126 |
answers_payload.append(
|
| 127 |
{"task_id": task_id, "submitted_answer": submitted_answer}
|
| 128 |
)
|