aboutsummaryrefslogtreecommitdiffstats
path: root/modules/images.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-10 08:37:06 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-10 08:37:06 +0000
commitef0cdb8a423a000cc9fd8726c51d25b484fc905f (patch)
tree4197bbade6faff4d198584e708d5269828c626aa /modules/images.py
parent955f644ce14f98ed7dd3bd331e57070112ff68ff (diff)
downloadstable-diffusion-webui-gfx803-ef0cdb8a423a000cc9fd8726c51d25b484fc905f.tar.gz
stable-diffusion-webui-gfx803-ef0cdb8a423a000cc9fd8726c51d25b484fc905f.tar.bz2
stable-diffusion-webui-gfx803-ef0cdb8a423a000cc9fd8726c51d25b484fc905f.zip
add batch count to sd upscale #169
fix writing empty prompt pictures to rroot directory instead of 'empty' suppress 'Denoising strength change factor' text inimage info unless using loopback mode
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images.py b/modules/images.py
index f2de9d86..cfe88fa4 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -259,7 +259,7 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i
if opts.save_to_dirs and not no_prompt:
words = re_nonletters.split(prompt or "")
- if len(words) == 0:
+ if len(words[0]) == 0:
words = ["empty"]
dirname = " ".join(words[0:opts.save_to_dirs_prompt_len]).strip()