8000 add void check · huggingface/diffusers@a273710 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit a273710

Browse files
committed
add void check
1 parent 5164c9f commit a273710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/diffusers/models/unet_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(
3030
attention_head_dim=8,
3131
norm_num_groups=32,
3232
norm_eps=1e-5,
33-
):
33+
) -> None:
3434
super().__init__()
3535

3636
self.sample_size = sample_size

src/diffusers/models/unet_2d_condition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(
3030
norm_eps=1e-5,
3131
cross_attention_dim=1280,
3232
attention_head_dim=8,
33-
):
33+
) -> None:
3434
super().__init__()
3535

3636
self.sample_size = sample_size

0 commit comments

Comments
 (0)
0