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 empty concat in more conds. (#17414)
comfyanonymouse6354106fa07
diff --git a/comfy/conds.py b/comfy/conds.pyindex 55ee18725..fabe1d301 100644--- a/comfy/conds.py+++ b/comfy/conds.py@@ -82,6 +82,8 @@ class CONDCrossAttn(CONDRegular):return Truedef concat(self, others):+ if len(others) == 0:+ return self.condconds = [self.cond]crossattn_max_len = self.cond.shape[1]for x in others:@@ -145,6 +147,8 @@ class CONDList(CONDRegular):return Truedef concat(self, others):+ if len(others) == 0:+ return list(self.cond)out = []for i in range(len(self.cond)):o = [self.cond[i]]