Spaces:
Sleeping
Sleeping
Boboiazumi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def _handle_roop_solve(
|
|
20 |
if not os.path.exists("media"):
|
21 |
os.mkdir("media")
|
22 |
start_time = time.time()
|
23 |
-
command = f"python run.py -t {video_path} -s {img_path} -o {ROOP_OUTPUT_PATH} --execution-threads 64 --frame-processor face_swapper --output-video-quality
|
24 |
os.system(command)
|
25 |
solved_time = time.time() - start_time
|
26 |
message = "Successfully solve the GED problem, using time ({:.3f}s).".format(solved_time)
|
|
|
20 |
if not os.path.exists("media"):
|
21 |
os.mkdir("media")
|
22 |
start_time = time.time()
|
23 |
+
command = f"python run.py -t {video_path} -s {img_path} -o {ROOP_OUTPUT_PATH} --execution-threads 64 --frame-processor face_swapper --output-video-quality 95"
|
24 |
os.system(command)
|
25 |
solved_time = time.time() - start_time
|
26 |
message = "Successfully solve the GED problem, using time ({:.3f}s).".format(solved_time)
|