Comfy: fix backwards steps

This commit is contained in:
Alex "mcmonkey" Goodwin
2023-10-29 07:20:01 -07:00
parent a046fe9cae
commit 9ed3eb7f89
+2 -2
View File
@@ -34,7 +34,7 @@ class DynamicThresholdingComfyNode:
uncond = args["uncond"]
cond_scale = args["cond_scale"]
time_step = args["timestep"]
dynamic_thresh.step = time_step[0]
dynamic_thresh.step = 999 - time_step[0]
return dynamic_thresh.dynthresh(x_out, uncond, cond_scale, None)
@@ -67,7 +67,7 @@ class DynamicThresholdingSimpleComfyNode:
uncond = args["uncond"]
cond_scale = args["cond_scale"]
time_step = args["timestep"]
dynamic_thresh.step = time_step[0]
dynamic_thresh.step = 999 - time_step[0]
return dynamic_thresh.dynthresh(x_out, uncond, cond_scale, None)