⏰ Increase rate limiting to 15s (5 req/min quota compliance)
This commit is contained in:
@@ -227,8 +227,8 @@ def main():
|
||||
else:
|
||||
failed += 1
|
||||
|
||||
# Rate limiting
|
||||
time.sleep(2)
|
||||
# Rate limiting (5 requests/min limit)
|
||||
time.sleep(15)
|
||||
|
||||
# Progress
|
||||
progress = ((current / total_creatures) * 100)
|
||||
|
||||
@@ -146,7 +146,7 @@ def run_generation():
|
||||
else:
|
||||
stats['failed'] += 1
|
||||
|
||||
time.sleep(2) # Rate limiting
|
||||
time.sleep(15) # Rate limiting (5 req/min limit)
|
||||
|
||||
# Generate styleB
|
||||
stats['total'] += 1
|
||||
@@ -164,7 +164,7 @@ def run_generation():
|
||||
progress = (stats['total'] / manifest['remaining']) * 100
|
||||
print(f"\n📊 Progress: {progress:.1f}% | Success: {stats['success']} | Failed: {stats['failed']}")
|
||||
|
||||
time.sleep(2) # Rate limiting
|
||||
time.sleep(15) # Rate limiting (5 req/min limit)
|
||||
|
||||
# Final summary
|
||||
print("\n" + "="*70)
|
||||
|
||||
Reference in New Issue
Block a user