ostris commited on
Commit
04512ad
·
verified ·
1 Parent(s): e8cfdeb

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -2
pipeline.py CHANGED
@@ -240,7 +240,7 @@ class Flex2Pipeline(FluxControlPipeline):
240
  if control_image is None:
241
  control_latents = torch.zeros(
242
  batch_size * num_images_per_prompt,
243
- 3,
244
  latent_height,
245
  latent_width,
246
  device=device,
@@ -265,7 +265,7 @@ class Flex2Pipeline(FluxControlPipeline):
265
  if inpaint_image is None and inpaint_mask is None:
266
  inpaint_latents = torch.zeros(
267
  batch_size * num_images_per_prompt,
268
- 3,
269
  latent_height,
270
  latent_width,
271
  device=device,
 
240
  if control_image is None:
241
  control_latents = torch.zeros(
242
  batch_size * num_images_per_prompt,
243
+ 16,
244
  latent_height,
245
  latent_width,
246
  device=device,
 
265
  if inpaint_image is None and inpaint_mask is None:
266
  inpaint_latents = torch.zeros(
267
  batch_size * num_images_per_prompt,
268
+ 16,
269
  latent_height,
270
  latent_width,
271
  device=device,