chilleverydaychill commited on
Commit
f274c06
·
1 Parent(s): 84a7acf

Update roop/core.py

Browse files
Files changed (1) hide show
  1. roop/core.py +0 -4
roop/core.py CHANGED
@@ -142,8 +142,6 @@ def start() -> None:
142
  return
143
  # process image to image
144
  if has_image_extension(roop.globals.target_path):
145
- if predict_image(roop.globals.target_path):
146
- destroy()
147
  shutil.copy2(roop.globals.target_path, roop.globals.output_path)
148
  for frame_processor in get_frame_processors_modules(roop.globals.frame_processors):
149
  update_status('Progressing...', frame_processor.NAME)
@@ -156,8 +154,6 @@ def start() -> None:
156
  update_status('Processing to image failed!')
157
  return
158
  # process image to videos
159
- if predict_video(roop.globals.target_path):
160
- destroy()
161
  update_status('Creating temp resources...')
162
  create_temp(roop.globals.target_path)
163
  update_status('Extracting frames...')
 
142
  return
143
  # process image to image
144
  if has_image_extension(roop.globals.target_path):
 
 
145
  shutil.copy2(roop.globals.target_path, roop.globals.output_path)
146
  for frame_processor in get_frame_processors_modules(roop.globals.frame_processors):
147
  update_status('Progressing...', frame_processor.NAME)
 
154
  update_status('Processing to image failed!')
155
  return
156
  # process image to videos
 
 
157
  update_status('Creating temp resources...')
158
  create_temp(roop.globals.target_path)
159
  update_status('Extracting frames...')