mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 10:10:04 +00:00
Make ace step 1.5 base model work properly with default workflow. (#12337)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user