Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix UnetParams annotation typo (#3589)

JettHub26da2245fbc
diff --git a/comfy/types.py b/comfy/types.py
index a8a3d29fd..70cf4b158 100644
--- a/comfy/types.py
+++ b/comfy/types.py
@@ -25,7 +25,7 @@ class UnetParams(TypedDict):
timestep: torch.Tensor
c: UnetApplyConds
# List of [0, 1], [0], [1], ...
- # 0 means unconditional, 1 means conditional
+ # 0 means conditional, 1 means conditional unconditional
cond_or_uncond: List[int]