aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-12 12:41:30 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-12 12:41:30 +0000
commita4416f3585616f93177d85c152c5fddb583ea361 (patch)
tree42a24b538b573a8cd56520cd4c5a3200deb79d4a /modules/extras.py
parentc205a07fbc33ab0619108f68b3a16c51e6ef1b63 (diff)
downloadstable-diffusion-webui-gfx803-a4416f3585616f93177d85c152c5fddb583ea361.tar.gz
stable-diffusion-webui-gfx803-a4416f3585616f93177d85c152c5fddb583ea361.tar.bz2
stable-diffusion-webui-gfx803-a4416f3585616f93177d85c152c5fddb583ea361.zip
[BUG] Not Working As Intended - create a directory with name derived from the prompt #306
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 40935f98..9a8a0976 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -65,7 +65,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")
+ images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras", p=p)
return image, plaintext_to_html(info), ''