Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,7 +175,7 @@ def check_liveness(frame):
|
|
| 175 |
def idcard_recognition(frame1):
|
| 176 |
ip_address = request.remote_addr
|
| 177 |
request_count = track_requests(ip_address)
|
| 178 |
-
|
| 179 |
if request_count > 3:
|
| 180 |
print("you have exceeded the daily limit of 5 requests")
|
| 181 |
return "You have exceeded the daily limit of 5 requests."
|
|
|
|
| 175 |
def idcard_recognition(frame1):
|
| 176 |
ip_address = request.remote_addr
|
| 177 |
request_count = track_requests(ip_address)
|
| 178 |
+
print("you have exceeded the daily limit of 5 requests", request_count)
|
| 179 |
if request_count > 3:
|
| 180 |
print("you have exceeded the daily limit of 5 requests")
|
| 181 |
return "You have exceeded the daily limit of 5 requests."
|