try fix control mode weighting #155

This commit is contained in:
lllyasviel 2024-02-09 13:23:49 -08:00
parent e8f51579cc
commit 472a510151

View File

@ -432,7 +432,7 @@ class ControlNetForForgeOfficial(scripts.Script):
0.214600924414215,
0.26012233262329093, 0.3152997971191405, 0.3821815722656249, 0.4632503906249999, 0.561515625,
0.6806249999999999, 0.825],
'middle': [1.0],
'middle': [0.561515625] if p.sd_model.is_sdxl else [1.0],
'output': [0.09941396206337118, 0.12050177219802567, 0.14606275417942507, 0.17704576264172736,
0.214600924414215,
0.26012233262329093, 0.3152997971191405, 0.3821815722656249, 0.4632503906249999, 0.561515625,