Temporarily running on 5 questions
Browse files
app.py
CHANGED
|
@@ -79,8 +79,9 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 79 |
# 3. Run your Agent
|
| 80 |
results_log = []
|
| 81 |
answers_payload = []
|
| 82 |
-
print(f"Running agent on {len(questions_data)} questions...")
|
| 83 |
-
|
|
|
|
| 84 |
task_id = item.get("task_id")
|
| 85 |
question_text = item.get("question")
|
| 86 |
if not task_id or question_text is None:
|
|
|
|
| 79 |
# 3. Run your Agent
|
| 80 |
results_log = []
|
| 81 |
answers_payload = []
|
| 82 |
+
# print(f"Running agent on {len(questions_data)} questions...")
|
| 83 |
+
print(f"Running agent on {len(questions_data[:5])} questions temporarily...")
|
| 84 |
+
for item in questions_data[:5]:
|
| 85 |
task_id = item.get("task_id")
|
| 86 |
question_text = item.get("question")
|
| 87 |
if not task_id or question_text is None:
|