SergeyO7 commited on
Commit
f1f94c7
·
verified ·
1 Parent(s): f542976

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ from token_bucket import Limiter, MemoryStorage
22
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
23
 
24
  # Rate limiting configuration
25
- RATE_LIMIT = 15 # Requests per minute
26
  TOKEN_BUCKET_CAPACITY = RATE_LIMIT
27
  TOKEN_BUCKET_REFILL_RATE = RATE_LIMIT / 60.0 # Tokens per second
28
 
 
22
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
23
 
24
  # Rate limiting configuration
25
+ RATE_LIMIT = 10 # Requests per minute
26
  TOKEN_BUCKET_CAPACITY = RATE_LIMIT
27
  TOKEN_BUCKET_REFILL_RATE = RATE_LIMIT / 60.0 # Tokens per second
28