Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
6c0ca5ef
Unverified
Commit
6c0ca5ef
authored
Sep 04, 2022
by
Yuntian Deng
Committed by
GitHub
Sep 04, 2022
Browse files
Fix typo in unet_blocks.py (#353)
Update unet_blocks.py fix typo
parent
cab76505
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/unet_blocks.py
src/diffusers/models/unet_blocks.py
+1
-1
No files found.
src/diffusers/models/unet_blocks.py
View file @
6c0ca5ef
...
...
@@ -60,7 +60,7 @@ def get_down_block(
)
elif
down_block_type
==
"CrossAttnDownBlock2D"
:
if
cross_attention_dim
is
None
:
raise
ValueError
(
"cross_attention_dim must be specified for CrossAttn
Up
Block2D"
)
raise
ValueError
(
"cross_attention_dim must be specified for CrossAttn
Down
Block2D"
)
return
CrossAttnDownBlock2D
(
num_layers
=
num_layers
,
in_channels
=
in_channels
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment