Skip to content

Commit

Permalink
make style
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvonplaten committed Nov 13, 2023
1 parent 1ce4b5f commit ef7787e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/community/stable_diffusion_controlnet_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,9 @@ def hacked_CrossAttnUpBlock2D_forward(

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
Expand Down

0 comments on commit ef7787e

Please sign in to comment.