mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-02 01:30:18 +08:00
Fix for latest upstream
This commit is contained in:
parent
7bc68588e8
commit
c3e6609e20
@ -436,7 +436,7 @@ class MultiTalkCrossAttnPatch:
|
||||
|
||||
def __call__(self, kwargs):
|
||||
transformer_options = kwargs.get("transformer_options", {})
|
||||
block_idx = transformer_options.get("block_idx", None)
|
||||
block_idx = transformer_options.get("block_index", None)
|
||||
x = kwargs["x"]
|
||||
if block_idx is None:
|
||||
return torch.zeros_like(x)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user