mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 11:46:37 +08:00
Adjust XLabs Flux controlnet to fit new syntax of applying Flux controlnet residuals
This commit is contained in:
parent
a0be6c7e75
commit
2e6ae1240c
@ -82,7 +82,7 @@ class ControlNetFlux(Flux):
|
||||
block_res_sample = controlnet_block(block_res_sample)
|
||||
controlnet_block_res_samples = controlnet_block_res_samples + (block_res_sample,)
|
||||
|
||||
return {"output": (controlnet_block_res_samples * 10)[:19]}
|
||||
return {"input": (controlnet_block_res_samples * 10)[:19]}
|
||||
|
||||
def forward(self, x, timesteps, context, y, guidance=None, hint=None, **kwargs):
|
||||
hint = hint * 2.0 - 1.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user