Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 84 |
|
| 85 |
# Add delay to avoid rate limits
|
| 86 |
if i > 0: # Don't delay the first request
|
| 87 |
-
time.sleep(
|
| 88 |
|
| 89 |
try:
|
| 90 |
print(f"Processing question {i+1}/{len(questions_data)}: {task_id}")
|
|
|
|
| 84 |
|
| 85 |
# Add delay to avoid rate limits
|
| 86 |
if i > 0: # Don't delay the first request
|
| 87 |
+
time.sleep(5) # Wait 2 seconds between requests
|
| 88 |
|
| 89 |
try:
|
| 90 |
print(f"Processing question {i+1}/{len(questions_data)}: {task_id}")
|