aboutsummaryrefslogtreecommitdiffstats
path: root/modules/generation_parameters_copypaste.py
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-05 04:35:40 +0000
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-05 04:35:40 +0000
commitaa744cadc8e357e696a608c8d0c77a7bfc1c9f39 (patch)
tree0fb60e36181188ed1685ef85ee29e13baae120b1 /modules/generation_parameters_copypaste.py
parent9ac2989edd78d797c77c131c058cae38d139868e (diff)
downloadstable-diffusion-webui-gfx803-aa744cadc8e357e696a608c8d0c77a7bfc1c9f39.tar.gz
stable-diffusion-webui-gfx803-aa744cadc8e357e696a608c8d0c77a7bfc1c9f39.tar.bz2
stable-diffusion-webui-gfx803-aa744cadc8e357e696a608c8d0c77a7bfc1c9f39.zip
add infotext
Diffstat (limited to 'modules/generation_parameters_copypaste.py')
-rw-r--r--modules/generation_parameters_copypaste.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py
index a3448be9..0713dbf0 100644
--- a/modules/generation_parameters_copypaste.py
+++ b/modules/generation_parameters_copypaste.py
@@ -304,6 +304,12 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
if "Schedule rho" not in res:
res["Schedule rho"] = 0
+ if "VAE Encoder" not in res:
+ res["VAE Encoder"] = "Full"
+
+ if "VAE Decoder" not in res:
+ res["VAE Decoder"] = "Full"
+
return res
@@ -329,6 +335,8 @@ infotext_to_setting_name_mapping = [
('RNG', 'randn_source'),
('NGMS', 's_min_uncond'),
('Pad conds', 'pad_cond_uncond'),
+ ('VAE Encoder', 'sd_vae_encode_method'),
+ ('VAE Decoder', 'sd_vae_decode_method'),
]