nsfwalex commited on
Commit
2f83aa6
·
verified ·
1 Parent(s): 80df91d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def swap_face(source_file, target_file, doFaceEnhancer, skey):
66
  timestamp_now = int(datetime.datetime.utcnow().replace(tzinfo=datetime.timezone.utc).timestamp())
67
  if timestamp_now - timestamp_requested > 20:
68
  raise Exception(f"authkey timeout, {timestamp_now - timestamp_requested}")
69
-
70
  source_path = "input.jpg"
71
  target_path = "target.jpg"
72
 
 
66
  timestamp_now = int(datetime.datetime.utcnow().replace(tzinfo=datetime.timezone.utc).timestamp())
67
  if timestamp_now - timestamp_requested > 20:
68
  raise Exception(f"authkey timeout, {timestamp_now - timestamp_requested}")
69
+ print(f"authkey pass, {timestamp_now - timestamp_requested}")
70
  source_path = "input.jpg"
71
  target_path = "target.jpg"
72