Skip to content

Commit 6c0ca5e

Browse files
authored
Fix typo in unet_blocks.py (huggingface#353)
Update unet_blocks.py fix typo
1 parent cab7650 commit 6c0ca5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/unet_blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_down_block(
6060
)
6161
elif down_block_type == "CrossAttnDownBlock2D":
6262
if cross_attention_dim is None:
63-
raise ValueError("cross_attention_dim must be specified for CrossAttnUpBlock2D")
63+
raise ValueError("cross_attention_dim must be specified for CrossAttnDownBlock2D")
6464
return CrossAttnDownBlock2D(
6565
num_layers=num_layers,
6666
in_channels=in_channels,

0 commit comments

Comments
 (0)