Spaces:
Sleeping
Sleeping
increase timeout
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 81 |
continue
|
| 82 |
try:
|
| 83 |
submitted_answer = agent(prompt)
|
| 84 |
-
time.sleep(
|
| 85 |
answers_payload.append(
|
| 86 |
{"task_id": task_id, "submitted_answer": submitted_answer}
|
| 87 |
)
|
|
|
|
| 81 |
continue
|
| 82 |
try:
|
| 83 |
submitted_answer = agent(prompt)
|
| 84 |
+
time.sleep(60) # to avoid rate limiting
|
| 85 |
answers_payload.append(
|
| 86 |
{"task_id": task_id, "submitted_answer": submitted_answer}
|
| 87 |
)
|