Skip to content

Commit 67360cf

Browse files
committed
make style
1 parent 335f4d4 commit 67360cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/community/pipeline_flux_differential_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def __call__(
935935

936936
mask_thresholds = torch.arange(num_inference_steps, dtype=original_mask.dtype) / num_inference_steps
937937
mask_thresholds = mask_thresholds.reshape(-1, 1, 1, 1).to(device)
938-
masks = (original_mask > mask_thresholds)
938+
masks = original_mask > mask_thresholds
939939
# end diff diff preparation
940940

941941
num_warmup_steps = max(len(timesteps) - num_inference_steps * self.scheduler.order, 0)

0 commit comments

Comments
 (0)