Skip to content

Commit 13b706a

Browse files
committed
ruff
1 parent bc72f9c commit 13b706a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/diffusers/models/controlnets/controlnet_z_image.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ def forward(
452452
c = layer(c, **new_kwargs)
453453

454454
hints = torch.unbind(c)[:-1]
455-
controlnet_block_samples = {layer_idx: hints[idx] * conditioning_scale for idx, layer_idx in enumerate(self.control_layers_places)}
455+
controlnet_block_samples = {
456+
layer_idx: hints[idx] * conditioning_scale for idx, layer_idx in enumerate(self.control_layers_places)
457+
}
456458

457459
return controlnet_block_samples

0 commit comments

Comments
 (0)