Spaces:
Runtime error
Runtime error
ol
Browse files
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 |
|