alex-remade commited on
Commit
dd17e15
·
1 Parent(s): 9e0762a

fix: update default rate limit for generations in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ MODAL_ENDPOINT = os.getenv('FAL_MODAL_ENDPOINT')
28
  MODAL_AUTH_TOKEN = os.getenv('MODAL_AUTH_TOKEN')
29
 
30
  # Rate limiting configuration
31
- RATE_LIMIT_GENERATIONS = int(os.getenv('RATE_LIMIT_GENERATIONS', '5')) # Default 5 generations per hour
32
  RATE_LIMIT_WINDOW = int(os.getenv('RATE_LIMIT_WINDOW', '3600')) # Default 1 hour in seconds
33
 
34
  # In-memory rate limiting storage (for production, consider Redis)
 
28
  MODAL_AUTH_TOKEN = os.getenv('MODAL_AUTH_TOKEN')
29
 
30
  # Rate limiting configuration
31
+ RATE_LIMIT_GENERATIONS = int(os.getenv('RATE_LIMIT_GENERATIONS', '1')) # Default 5 generations per hour
32
  RATE_LIMIT_WINDOW = int(os.getenv('RATE_LIMIT_WINDOW', '3600')) # Default 1 hour in seconds
33
 
34
  # In-memory rate limiting storage (for production, consider Redis)