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