Skip to content

Commit 20b9308

Browse files
committed
fix args
1 parent ac0b262 commit 20b9308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/text_to_image/pipeline_stable_diffusion_img2img_render_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def preprocess(image):
5050
class StableDiffusionImg2ImgRenderTextPipeline(StableDiffusionPipeline):
5151

5252
def prepare_image_latents(self, image, timestep, batch_size, num_images_per_prompt, dtype, device, generator=None,
53-
do_classifier_free_guidance):
53+
do_classifier_free_guidance=False):
5454
image = image.to(device=device, dtype=dtype)
5555

5656
batch_size = batch_size * num_images_per_prompt

0 commit comments

Comments
 (0)