mirror of
https://github.com/facefusion/facefusion.git
synced 2026-04-25 10:55:57 +02:00
Clear temp before processing
This commit is contained in:
@@ -267,6 +267,9 @@ def process_image(start_time : float) -> None:
|
||||
def process_video(start_time : float) -> None:
|
||||
if analyse_video(facefusion.globals.target_path, facefusion.globals.trim_frame_start, facefusion.globals.trim_frame_end):
|
||||
return
|
||||
# clear temp
|
||||
logger.info(wording.get('clearing_temp'), __name__.upper())
|
||||
clear_temp(facefusion.globals.target_path)
|
||||
# create temp
|
||||
logger.info(wording.get('creating_temp'), __name__.upper())
|
||||
create_temp(facefusion.globals.target_path)
|
||||
|
||||
Reference in New Issue
Block a user