Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def run_scripts(subfolder, source):
|
|
| 48 |
filename = os.path.splitext(target_file)[0]
|
| 49 |
timestamp = datetime.now().strftime("%Y%m%d%H%M%S")
|
| 50 |
output_path = f"{filename}_{timestamp}{target_extension}"
|
| 51 |
-
cmd1 = ["python3", "run.py", "-s", source.name, "-t", target_file, "-o", output_path, "--frame-processor", "face_swapper",
|
| 52 |
subprocess.run(cmd1)
|
| 53 |
outputfile.append(output_path)
|
| 54 |
print(output_path)
|
|
|
|
| 48 |
filename = os.path.splitext(target_file)[0]
|
| 49 |
timestamp = datetime.now().strftime("%Y%m%d%H%M%S")
|
| 50 |
output_path = f"{filename}_{timestamp}{target_extension}"
|
| 51 |
+
cmd1 = ["python3", "run.py", "-s", source.name, "-t", target_file, "-o", output_path, "--frame-processor", "face_swapper", '--many-faces']
|
| 52 |
subprocess.run(cmd1)
|
| 53 |
outputfile.append(output_path)
|
| 54 |
print(output_path)
|