diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-27 19:30:12 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-27 19:30:47 +0000 |
commit | 757dda9ade9d47cb2a755dad0475c8c4fbcaa114 (patch) | |
tree | 4574f84e7d174a95145199ec8e3473c32cacdf8d /modules/infotext_versions.py | |
parent | e717eaff86652d2dfda243fa7c3513fdddca9f3f (diff) | |
download | stable-diffusion-webui-gfx803-757dda9ade9d47cb2a755dad0475c8c4fbcaa114.tar.gz stable-diffusion-webui-gfx803-757dda9ade9d47cb2a755dad0475c8c4fbcaa114.tar.bz2 stable-diffusion-webui-gfx803-757dda9ade9d47cb2a755dad0475c8c4fbcaa114.zip |
Add Pad conds v0 option
Diffstat (limited to 'modules/infotext_versions.py')
-rw-r--r-- | modules/infotext_versions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/infotext_versions.py b/modules/infotext_versions.py index a5afeebf..23b45c3f 100644 --- a/modules/infotext_versions.py +++ b/modules/infotext_versions.py @@ -31,9 +31,12 @@ def backcompat(d): if ver is None:
return
- if ver < v160:
+ if ver < v160 and '[' in d.get('Prompt', ''):
d["Old prompt editing timelines"] = True
+ if ver < v160 and d.get('Sampler', '') in ('DDIM', 'PLMS'):
+ d["Pad conds v0"] = True
+
if ver < v170_tsnr:
d["Downcast alphas_cumprod"] = True
|