Merge branch 'main_upstream'

This commit is contained in:
Manuel Schmid
2024-03-05 21:17:40 +01:00
+1
View File
@@ -77,6 +77,7 @@ def generate_clicked(task):
# delete Fooocus temp images, only keep gradio temp images # delete Fooocus temp images, only keep gradio temp images
if args_manager.args.disable_image_log: if args_manager.args.disable_image_log:
for filepath in product: for filepath in product:
if isinstance(filepath, str) and os.path.exists(filepath):
os.remove(filepath) os.remove(filepath)
execution_time = time.perf_counter() - execution_start_time execution_time = time.perf_counter() - execution_start_time