Skip to content

Commit f0fac62

Browse files
committed
style
1 parent cb43412 commit f0fac62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/diffusers/pipelines/flux/pipeline_flux_fill.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ def __init__(
225225
# Flux latents are turned into 2x2 patches and packed. This means the latent width and height has to be divisible
226226
# by the patch size. So the vae scale factor is multiplied by the patch size to account for this
227227
self.latent_channels = self.vae.config.latent_channels if getattr(self, "vae", None) else 16
228-
self.image_processor = VaeImageProcessor(vae_scale_factor=self.vae_scale_factor * 2,vae_latent_channels=self.latent_channels)
228+
self.image_processor = VaeImageProcessor(
229+
vae_scale_factor=self.vae_scale_factor * 2, vae_latent_channels=self.latent_channels
230+
)
229231
self.mask_processor = VaeImageProcessor(
230232
vae_scale_factor=self.vae_scale_factor * 2,
231233
vae_latent_channels=self.latent_channels,

0 commit comments

Comments
 (0)