Spaces:
Sleeping
Sleeping
Qscar KIM commited on
Commit ·
82a263a
1
Parent(s): a4cb48c
update codes
Browse files
app.py
CHANGED
|
@@ -122,6 +122,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 122 |
answers_payload = []
|
| 123 |
print(f"Running agent on {len(questions_data)} questions...")
|
| 124 |
for item in questions_data:
|
|
|
|
| 125 |
task_id = item.get("task_id")
|
| 126 |
question_text = item.get("question")
|
| 127 |
if not task_id or question_text is None:
|
|
|
|
| 122 |
answers_payload = []
|
| 123 |
print(f"Running agent on {len(questions_data)} questions...")
|
| 124 |
for item in questions_data:
|
| 125 |
+
time.sleep(5.0)
|
| 126 |
task_id = item.get("task_id")
|
| 127 |
question_text = item.get("question")
|
| 128 |
if not task_id or question_text is None:
|