sewanapi commited on
Commit
8db24ea
1 Parent(s): 02c4dcb

Update facefusion/core.py

Browse files
Files changed (1) hide show
  1. facefusion/core.py +5 -5
facefusion/core.py CHANGED
@@ -211,8 +211,8 @@ def conditional_set_face_reference() -> None:
211
 
212
 
213
  def process_image() -> None:
214
- if analyse_image(facefusion.globals.target_path):
215
- return
216
  shutil.copy2(facefusion.globals.target_path, facefusion.globals.output_path)
217
  # process frame
218
  for frame_processor_module in get_frame_processors_modules(facefusion.globals.frame_processors):
@@ -231,9 +231,9 @@ def process_image() -> None:
231
 
232
 
233
  def process_video() -> None:
234
- if analyse_video(facefusion.globals.target_path, facefusion.globals.trim_frame_start, facefusion.globals.trim_frame_end):
235
- return
236
- fps = detect_fps(facefusion.globals.target_path) if facefusion.globals.keep_fps else 25.0
237
  # create temp
238
  update_status(wording.get('creating_temp'))
239
  create_temp(facefusion.globals.target_path)
 
211
 
212
 
213
  def process_image() -> None:
214
+ #if analyse_image(facefusion.globals.target_path):
215
+ # return
216
  shutil.copy2(facefusion.globals.target_path, facefusion.globals.output_path)
217
  # process frame
218
  for frame_processor_module in get_frame_processors_modules(facefusion.globals.frame_processors):
 
231
 
232
 
233
  def process_video() -> None:
234
+ #if analyse_video(facefusion.globals.target_path, facefusion.globals.trim_frame_start, facefusion.globals.trim_frame_end):
235
+ # return
236
+ fps = detect_fps(facefusion.globals.target_path) if facefusion.globals.keep_fps else 30.0
237
  # create temp
238
  update_status(wording.get('creating_temp'))
239
  create_temp(facefusion.globals.target_path)