Skip to content

Commit 7e34808

Browse files
committed
minor fix
1 parent 29b12b2 commit 7e34808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/qwen_image/model_inference/Qwen-Image-Edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
prompt = "将裙子改为粉色"
2020
# edit_image_auto_resize=True: auto resize input image to match the area of 1024*1024 with the original aspect ratio
21-
# edit_image_auto_resize=False: do not resize input image
2221
image = pipe(prompt, edit_image=input_image, seed=1, num_inference_steps=40, height=1328, width=1024, edit_image_auto_resize=True)
2322
image.save(f"image2.jpg")
2423

24+
# edit_image_auto_resize=False: do not resize input image
2525
image = pipe(prompt, edit_image=input_image, seed=1, num_inference_steps=40, height=1328, width=1024, edit_image_auto_resize=False)
2626
image.save(f"image3.jpg")

0 commit comments

Comments
 (0)