mkrzyzan commited on
Commit
c2b7113
1 Parent(s): 2b1c750
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -31,6 +31,7 @@ def swap_faces(faceSource, sourceFaceId, faceDestination, destFaceId):
31
 
32
  result = swapper.get(faceDestination, res_face, source_face, paste_back=True)
33
 
 
34
  value = value + 1
35
  print(f"processed: {value}...")
36
 
 
31
 
32
  result = swapper.get(faceDestination, res_face, source_face, paste_back=True)
33
 
34
+ global value
35
  value = value + 1
36
  print(f"processed: {value}...")
37