Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def swap_face(source_file, target_file, doFaceEnhancer):
|
|
99 |
# Save input images with timestamp in folder
|
100 |
source_path = os.path.join(folder_path, f"source_{timestamp}.jpg")
|
101 |
target_path = os.path.join(folder_path, f"target_{timestamp}.jpg")
|
102 |
-
output_path = os.path.join(folder_path, f"
|
103 |
|
104 |
# Save the input images
|
105 |
if source_file is None or target_file is None:
|
|
|
99 |
# Save input images with timestamp in folder
|
100 |
source_path = os.path.join(folder_path, f"source_{timestamp}.jpg")
|
101 |
target_path = os.path.join(folder_path, f"target_{timestamp}.jpg")
|
102 |
+
output_path = os.path.join(folder_path, f"OutputImage{timestamp}.jpg")
|
103 |
|
104 |
# Save the input images
|
105 |
if source_file is None or target_file is None:
|