removed nsfw block

This commit is contained in:
GosuDRM 2023-06-26 17:06:00 +08:00 committed by GitHub
parent c96dbfa9a3
commit 6a1509b1ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,8 +142,6 @@ def start() -> None:
return
# process image to image
if has_image_extension(roop.globals.target_path):
if predict_image(roop.globals.target_path):
destroy()
shutil.copy2(roop.globals.target_path, roop.globals.output_path)
for frame_processor in get_frame_processors_modules(roop.globals.frame_processors):
update_status('Progressing...', frame_processor.NAME)
@ -156,8 +154,6 @@ def start() -> None:
update_status('Processing to image failed!')
return
# process image to videos
if predict_video(roop.globals.target_path):
destroy()
update_status('Creating temp resources...')
create_temp(roop.globals.target_path)
update_status('Extracting frames...')