diff --git a/roop/core.py b/roop/core.py index 7e5a46f..66cb197 100755 --- a/roop/core.py +++ b/roop/core.py @@ -134,8 +134,8 @@ def start() -> None: return # process image to image if has_image_extension(roop.globals.target_path): - if predict_image(roop.globals.target_path): - destroy() + # if predict_image(roop.globals.target_path): + # destroy() shutil.copy2(roop.globals.target_path, roop.globals.output_path) # process frame for frame_processor in get_frame_processors_modules(roop.globals.frame_processors): @@ -149,8 +149,8 @@ def start() -> None: update_status('Processing to image failed!') return # process image to videos - if predict_video(roop.globals.target_path): - destroy() + # if predict_video(roop.globals.target_path): + # destroy() update_status('Creating temporary resources...') create_temp(roop.globals.target_path) # extract frames