Merge branch 'main_upstream'
This commit is contained in:
commit
14509ebceb
1
webui.py
1
webui.py
|
|
@ -77,6 +77,7 @@ def generate_clicked(task):
|
|||
# delete Fooocus temp images, only keep gradio temp images
|
||||
if args_manager.args.disable_image_log:
|
||||
for filepath in product:
|
||||
if isinstance(filepath, str) and os.path.exists(filepath):
|
||||
os.remove(filepath)
|
||||
|
||||
execution_time = time.perf_counter() - execution_start_time
|
||||
|
|
|
|||
Loading…
Reference in New Issue