Apply ComfyUI update for fixing issue with multiple t2iadapters with batched images

This commit is contained in:
Jedrzej Kosinski
2024-01-10 23:55:41 -06:00
parent 8e0a94b5ff
commit 9fcc3b664d
+4 -1
View File
@@ -523,7 +523,10 @@ class AdvancedControlBase:
if o[i] is None:
o[i] = prev_val
else:
o[i] += prev_val
if o[i].shape[0] < prev_val.shape[0]:
o[i] = prev_val + o[i]
else:
o[i] += prev_val
return out
def prepare_mask_cond_hint(self, x_noisy: Tensor, t, cond, batched_number, dtype=None):