mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-10 14:34:25 +08:00
Update model_multitalk.py
This commit is contained in:
parent
d53e62913d
commit
3ae78a4804
@ -407,9 +407,9 @@ class MultiTalkCrossAttnPatch:
|
|||||||
def __call__(self, kwargs):
|
def __call__(self, kwargs):
|
||||||
transformer_options = kwargs.get("transformer_options", {})
|
transformer_options = kwargs.get("transformer_options", {})
|
||||||
block_idx = transformer_options.get("block_idx", None)
|
block_idx = transformer_options.get("block_idx", None)
|
||||||
|
x = kwargs["x"]
|
||||||
if block_idx is None:
|
if block_idx is None:
|
||||||
return torch.zeros_like(x)
|
return torch.zeros_like(x)
|
||||||
x = kwargs["x"]
|
|
||||||
|
|
||||||
audio_embeds = transformer_options.get("audio_embeds")
|
audio_embeds = transformer_options.get("audio_embeds")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user