diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-02 04:05:05 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-02 04:05:05 +0000 |
commit | 80873b1538e6ca0c7ebe558f8ce4213b06fd8307 (patch) | |
tree | 65f3cc461f9b57fbf9bfffa3229387b34b697d8b /modules/infotext_utils.py | |
parent | 1341b2208185cd89b0019bda2df63b406ec0cb5e (diff) | |
download | stable-diffusion-webui-gfx803-80873b1538e6ca0c7ebe558f8ce4213b06fd8307.tar.gz stable-diffusion-webui-gfx803-80873b1538e6ca0c7ebe558f8ce4213b06fd8307.tar.bz2 stable-diffusion-webui-gfx803-80873b1538e6ca0c7ebe558f8ce4213b06fd8307.zip |
fix #14497
Diffstat (limited to 'modules/infotext_utils.py')
-rw-r--r-- | modules/infotext_utils.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/infotext_utils.py b/modules/infotext_utils.py index 26e9b949..e582ee47 100644 --- a/modules/infotext_utils.py +++ b/modules/infotext_utils.py @@ -312,6 +312,18 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model if "Hires negative prompt" not in res:
res["Hires negative prompt"] = ""
+ if "Mask mode" not in res:
+ res["Mask mode"] = "Inpaint masked"
+
+ if "Masked content" not in res:
+ res["Masked content"] = 'original'
+
+ if "Inpaint area" not in res:
+ res["Inpaint area"] = "Whole picture"
+
+ if "Masked area padding" not in res:
+ res["Masked area padding"] = 32
+
restore_old_hires_fix_params(res)
# Missing RNG means the default was set, which is GPU RNG
|