mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-06 18:08:29 +00:00
removed nsfw block
This commit is contained in:
parent
c96dbfa9a3
commit
6a1509b1ee
@ -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...')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user