mr2along commited on
Commit
92b2d0f
1 Parent(s): 16c68ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,9 +8,9 @@ def run_scripts(target, source, use_face_enhancer):
8
  return None
9
  outputfile=[]
10
  for target_file in target :
11
- target_extension = os.path.splitext(target.name)[-1]
12
  output_path1 = "output1" + target_extension
13
- cmd1 = ["python3", "run.py", "-s", source.name, "-t", target.name, "-o", output_path1, "--frame-processor", "face_swapper","face_enhancer"]
14
  subprocess.run(cmd1)
15
  outputfile.append(output_path1)
16
 
 
8
  return None
9
  outputfile=[]
10
  for target_file in target :
11
+ target_extension = os.path.splitext(target_file.name)[-1]
12
  output_path1 = "output1" + target_extension
13
+ cmd1 = ["python3", "run.py", "-s", source.name, "-t", target_file.name, "-o", output_path1, "--frame-processor", "face_swapper","face_enhancer"]
14
  subprocess.run(cmd1)
15
  outputfile.append(output_path1)
16