mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-18 06:06:59 +08:00
Fix not working on old python.
This commit is contained in:
parent
380294e998
commit
e520ce90cc
@ -51,7 +51,7 @@ class ControlNetFlux(Flux):
|
||||
txt_ids: Tensor,
|
||||
timesteps: Tensor,
|
||||
y: Tensor,
|
||||
guidance: Tensor | None = None,
|
||||
guidance: Tensor = None,
|
||||
) -> Tensor:
|
||||
if img.ndim != 3 or txt.ndim != 3:
|
||||
raise ValueError("Input img and txt tensors must have 3 dimensions.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user