aboutsummaryrefslogtreecommitdiff
path: root/modules/infotext_utils.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-02 07:05:05 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2024-01-02 07:05:05 +0300
commit80873b1538e6ca0c7ebe558f8ce4213b06fd8307 (patch)
tree65f3cc461f9b57fbf9bfffa3229387b34b697d8b /modules/infotext_utils.py
parent1341b2208185cd89b0019bda2df63b406ec0cb5e (diff)
fix #14497
Diffstat (limited to 'modules/infotext_utils.py')
-rw-r--r--modules/infotext_utils.py12
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