1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Experimental lyrics strength for ACE. (#7984)

This commit is contained in:
comfyanonymous
2025-05-07 16:22:07 -07:00
committed by GitHub
parent b9980592c4
commit cc33cd3422
3 changed files with 12 additions and 4 deletions

View File

@@ -1139,4 +1139,5 @@ class ACEStep(BaseModel):
if cross_attn is not None:
out['lyric_token_idx'] = comfy.conds.CONDRegular(conditioning_lyrics)
out['speaker_embeds'] = comfy.conds.CONDRegular(torch.zeros(noise.shape[0], 512, device=noise.device, dtype=noise.dtype))
out['lyrics_strength'] = comfy.conds.CONDConstant(kwargs.get("lyrics_strength", 1.0))
return out