mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 11:17:08 +08:00
switch cfg to args["denoised"]
This commit is contained in:
parent
144255a06d
commit
e80594487f
@ -21,7 +21,7 @@ class Mahiro:
|
||||
leap = cond_p * scale
|
||||
#sim with uncond leap
|
||||
u_leap = uncond_p * scale
|
||||
cfg = uncond_p + (cond_p - uncond_p) * scale
|
||||
cfg = args["denoised"]
|
||||
merge = (leap + cfg) / 2
|
||||
normu = torch.sqrt(u_leap.abs()) * u_leap.sign()
|
||||
normm = torch.sqrt(merge.abs()) * merge.sign()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user