mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 21:30:27 +00:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user