aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorJustAnOkapi <justanokapi@gmail.com>2022-09-13 20:28:03 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-14 05:58:13 +0000
commitf9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c (patch)
tree264af5b87eddb113871f3938f876d2b897db4bd0 /modules/extras.py
parente73e2ce2fd8f5ae86d965d94f39087bd09f0b690 (diff)
downloadstable-diffusion-webui-gfx803-f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c.tar.gz
stable-diffusion-webui-gfx803-f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c.tar.bz2
stable-diffusion-webui-gfx803-f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c.zip
prevent extras from saving in dir
Extras have none of the vars used in dir names, so they cant be saved into dirs. +grid code cleanup
Diffstat (limited to 'modules/extras.py')
-rw-r--r--modules/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extras.py b/modules/extras.py
index cb083544..55a782c7 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -69,7 +69,7 @@ def run_extras(image, gfpgan_visibility, codeformer_visibility, codeformer_weigh
while len(cached_images) > 2:
del cached_images[next(iter(cached_images.keys()))]
- images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras", existing_info=existing_pnginfo)
+ images.save_image(image, path=outpath, basename="", seed=None, prompt=None, extension=opts.samples_format, info=info, short_filename=True, no_prompt=True, grid=False, pnginfo_section_name="extras", existing_info=existing_pnginfo)
return image, plaintext_to_html(info), ''