Add Pad conds v0 option

This commit is contained in:
AUTOMATIC1111
2024-01-27 22:30:12 +03:00
parent e717eaff86
commit 757dda9ade
6 changed files with 78 additions and 19 deletions

View File

@@ -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