mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-06 18:08:29 +00:00
fix paths, ig
This commit is contained in:
parent
a25265e031
commit
0257f930ea
2
run.py
2
run.py
@ -92,7 +92,7 @@ def start():
|
||||
video_name = target_path.split(sep)[-1].split(".")[0]
|
||||
output_dir = target_path.replace(target_path.split(sep)[-1], "") + sep + video_name
|
||||
if sep == "\\":
|
||||
output_dir = output_dir.lstrip("\\")
|
||||
output_dir = output_dir.lstrip("\\").rstri("\\")
|
||||
Path(output_dir).mkdir(exist_ok=True)
|
||||
fps = detect_fps(target_path)
|
||||
if not args['keep_fps'] and fps > 30:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user