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
renzhc
diffusers_dcu
Commits
ef7787ea
Commit
ef7787ea
authored
Nov 13, 2023
by
Patrick von Platen
Browse files
make style
parent
1ce4b5f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
examples/community/stable_diffusion_controlnet_reference.py
examples/community/stable_diffusion_controlnet_reference.py
+3
-1
No files found.
examples/community/stable_diffusion_controlnet_reference.py
View file @
ef7787ea
...
...
@@ -642,7 +642,9 @@ class StableDiffusionControlNetReferencePipeline(StableDiffusionControlNetPipeli
return
hidden_states
def
hacked_UpBlock2D_forward
(
self
,
hidden_states
,
res_hidden_states_tuple
,
temb
=
None
,
upsample_size
=
None
,
*
args
,
**
kwargs
):
def
hacked_UpBlock2D_forward
(
self
,
hidden_states
,
res_hidden_states_tuple
,
temb
=
None
,
upsample_size
=
None
,
*
args
,
**
kwargs
):
eps
=
1e-6
for
i
,
resnet
in
enumerate
(
self
.
resnets
):
# pop res hidden states
...
...
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