Merge branch 'main_upstream' into develop
This commit is contained in:
commit
4701b4f8f3
|
|
@ -21,6 +21,7 @@ body:
|
|||
5. Try a fresh installation of Fooocus in a different directory - see if a clean installation solves the issue
|
||||
Before making a issue report please, check that the issue hasn't been reported recently.
|
||||
options:
|
||||
- label: The issue has not been resolved by following the [troubleshooting guide](https://github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md)
|
||||
- label: The issue exists on a clean installation of Fooocus
|
||||
- label: The issue exists in the current version of Fooocus
|
||||
- label: The issue has not been reported before recently
|
||||
|
|
|
|||
3
webui.py
3
webui.py
|
|
@ -76,7 +76,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