aboutsummaryrefslogtreecommitdiffstats
path: root/modules/infotext_utils.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-02-11 06:39:51 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2024-02-11 06:39:51 +0000
commite2b19900ec37ef517d8175a7d86c1925ca9f9e91 (patch)
tree6fac89794a1a953e42f782c3649b4826dda2332f /modules/infotext_utils.py
parent3732cf2f97be873f17b735221cca177f056bd478 (diff)
downloadstable-diffusion-webui-gfx803-e2b19900ec37ef517d8175a7d86c1925ca9f9e91.tar.gz
stable-diffusion-webui-gfx803-e2b19900ec37ef517d8175a7d86c1925ca9f9e91.tar.bz2
stable-diffusion-webui-gfx803-e2b19900ec37ef517d8175a7d86c1925ca9f9e91.zip
add infotext entry for emphasis; put emphasis into a separate file, add an option to parse but still ignore emphasis
Diffstat (limited to 'modules/infotext_utils.py')
-rw-r--r--modules/infotext_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/infotext_utils.py b/modules/infotext_utils.py
index 1049c6c3..a938aa2a 100644
--- a/modules/infotext_utils.py
+++ b/modules/infotext_utils.py
@@ -356,6 +356,9 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
if "Cache FP16 weight for LoRA" not in res and res["FP8 weight"] != "Disable":
res["Cache FP16 weight for LoRA"] = False
+ if "Emphasis" not in res:
+ res["Emphasis"] = "Original"
+
infotext_versions.backcompat(res)
for key in skip_fields: