File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/diffusers/pipelines/qwenimage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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"""
You can’t perform that action at this time.
0 commit comments