Skip to content

Commit 1ff6736

Browse files
committed
up
1 parent 9c1d4e3 commit 1ff6736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
>>> import torch
4646
>>> from diffusers import QwenImagePipeline
4747
48-
>>> pipe = QwenImagePipeline.from_pretrained("Qwen/QwenImage-20B", torch_dtype=torch.bfloat16)
48+
>>> pipe = QwenImagePipeline.from_pretrained("Qwen/Qwen-Image", torch_dtype=torch.bfloat16)
4949
>>> pipe.to("cuda")
5050
>>> prompt = "A cat holding a sign that says hello world"
5151
>>> # Depending on the variant being used, the pipeline call will slightly vary.
5252
>>> # Refer to the pipeline documentation for more details.
53-
>>> image = pipe(prompt, num_inference_steps=4, guidance_scale=0.0).images[0]
53+
>>> image = pipe(prompt, num_inference_steps=50).images[0]
5454
>>> image.save("qwenimage.png")
5555
```
5656
"""

0 commit comments

Comments
 (0)