We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc72f9c commit 13b706aCopy full SHA for 13b706a
src/diffusers/models/controlnets/controlnet_z_image.py
@@ -452,6 +452,8 @@ def forward(
452
c = layer(c, **new_kwargs)
453
454
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)}
+ controlnet_block_samples = {
456
+ layer_idx: hints[idx] * conditioning_scale for idx, layer_idx in enumerate(self.control_layers_places)
457
+ }
458
459
return controlnet_block_samples
0 commit comments