Make ace step 1.5 base model work properly with default workflow. (#12337)

This commit is contained in:
comfyanonymous
2026-02-06 16:14:56 -08:00
committed by GitHub
parent a1c101f861
commit eba6c940fd
2 changed files with 6 additions and 1 deletions

View File

@@ -1552,6 +1552,8 @@ class ACEStep15(BaseModel):
cross_attn = kwargs.get("cross_attn", None)
if cross_attn is not None:
if torch.count_nonzero(cross_attn) == 0:
out['replace_with_null_embeds'] = comfy.conds.CONDConstant(True)
out['c_crossattn'] = comfy.conds.CONDRegular(cross_attn)
conditioning_lyrics = kwargs.get("conditioning_lyrics", None)