Skip to content

Commit

Permalink
add void check
Browse files Browse the repository at this point in the history
  • Loading branch information
sidthekidder committed Sep 2, 2022
1 parent 5164c9f commit a273710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/diffusers/models/unet_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(
attention_head_dim=8,
norm_num_groups=32,
norm_eps=1e-5,
):
) -> None:
super().__init__()

self.sample_size = sample_size
Expand Down
2 changes: 1 addition & 1 deletion src/diffusers/models/unet_2d_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(
norm_eps=1e-5,
cross_attention_dim=1280,
attention_head_dim=8,
):
) -> None:
super().__init__()

self.sample_size = sample_size
Expand Down

0 comments on commit a273710

Please sign in to comment.