From 4e001a1052fb24167a979b6c77887e75e9224a5a Mon Sep 17 00:00:00 2001 From: sqhuang Date: Sun, 23 Nov 2025 21:53:47 +0800 Subject: [PATCH] Fix variable naming typos in community FluxControlNetFillInpaintPipeline - Fixed variable naming typos (maskkk -> mask_fill, mask_imagee -> mask_image_fill, masked_imagee -> masked_image_fill, masked_image_latentsss -> masked_latents_fill) These changes improve code readability without affecting functionality. --- .../pipline_flux_fill_controlnet_Inpaint.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/community/pipline_flux_fill_controlnet_Inpaint.py b/examples/community/pipline_flux_fill_controlnet_Inpaint.py index 6b1c204df03b..cc642a767f87 100644 --- a/examples/community/pipline_flux_fill_controlnet_Inpaint.py +++ b/examples/community/pipline_flux_fill_controlnet_Inpaint.py @@ -1168,12 +1168,12 @@ def __call__( generator, ) - mask_imagee = self.mask_processor.preprocess(mask_image, height=height, width=width) - masked_imagee = init_image * (1 - mask_imagee) - masked_imagee = masked_imagee.to(dtype=self.vae.dtype, device=device) - maskkk, masked_image_latentsss = self.prepare_mask_latents_fill( - mask_imagee, - masked_imagee, + mask_image_fill = self.mask_processor.preprocess(mask_image, height=height, width=width) + masked_image_fill = init_image * (1 - mask_image_fill) + masked_image_fill = masked_image_fill.to(dtype=self.vae.dtype, device=device) + mask_fill, masked_latents_fill = self.prepare_mask_latents_fill( + mask_image_fill, + masked_image_fill, batch_size, num_channels_latents, num_images_per_prompt, @@ -1243,7 +1243,7 @@ def __call__( else: guidance = None - masked_image_latents_fill = torch.cat((masked_image_latentsss, maskkk), dim=-1) + masked_image_latents_fill = torch.cat((masked_latents_fill, mask_fill), dim=-1) latent_model_input = torch.cat([latents, masked_image_latents_fill], dim=2) noise_pred = self.transformer(