Skip to content

Commit 803d0d1

Browse files
committed
use typing Dict
1 parent 3e2d292 commit 803d0d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/diffusers/models/transformers/transformer_photon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def forward(
427427
temb: torch.Tensor,
428428
image_rotary_emb: torch.Tensor,
429429
attention_mask: Optional[torch.Tensor] = None,
430-
**kwargs: dict[str, Any],
430+
**kwargs: Dict[str, Any],
431431
) -> torch.Tensor:
432432
r"""
433433
Runs modulation-gated cross-attention and MLP, with residual connections.

0 commit comments

Comments
 (0)