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
This commit is contained in:
AUTOMATIC
2022-09-10 11:37:06 +03:00
parent 955f644ce1
commit ef0cdb8a42
3 changed files with 32 additions and 27 deletions

View File

@@ -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()