edreesi commited on
Commit
95400e9
·
verified ·
1 Parent(s): 9c1d3fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."