The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Skip concat if only a single cond. (#17413)
comfyanonymous4845e7a3ffc4
diff --git a/comfy/conds.py b/comfy/conds.pyindex 34b796791..55ee18725 100644--- a/comfy/conds.py+++ b/comfy/conds.py@@ -42,6 +42,8 @@ class CONDRegular:return Truedef concat(self, others):+ if len(others) == 0:+ return self.condconds = [self.cond]for x in others:conds.append(x.cond)