Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,6 @@ def check_rate_limit(request: gr.Request):
|
|
39 |
# Clean up old timestamps outside the time window
|
40 |
request_times[ip] = [t for t in request_times[ip] if now - t < TIME_WINDOW]
|
41 |
|
42 |
-
print(f"Request times: {request_times[ip]}")
|
43 |
|
44 |
# Check if rate limit exceeded
|
45 |
if len(request_times[ip]) >= MAX_REQUESTS:
|
|
|
39 |
# Clean up old timestamps outside the time window
|
40 |
request_times[ip] = [t for t in request_times[ip] if now - t < TIME_WINDOW]
|
41 |
|
|
|
42 |
|
43 |
# Check if rate limit exceeded
|
44 |
if len(request_times[ip]) >= MAX_REQUESTS:
|