Skip to content

Commit 65b230e

Browse files
committed
Remove unused vl_processor reference
1 parent 607c5f4 commit 65b230e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_controlnet.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ def __init__(
233233
# QwenImage latents are turned into 2x2 patches and packed. This means the latent width and height has to be divisible
234234
# by the patch size. So the vae scale factor is multiplied by the patch size to account for this
235235
self.image_processor = VaeImageProcessor(vae_scale_factor=self.vae_scale_factor * 2)
236-
self.vl_processor = processor
237236
self.tokenizer_max_length = 1024
238237

239238
self.prompt_template_encode = "<|im_start|>system\nDescribe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>{}<|im_end|>\n<|im_start|>assistant\n"

0 commit comments

Comments
 (0)