Views
No views yet
a trtcrd of [...], tarot card style to trigger the image generation.1 >>> import torch
2 >>> from diffusers import QwenImagePipeline
3
4 >>> pipe = QwenImagePipeline.from_pretrained(
5 ... "Qwen/Qwen-Image",
6 ... torch_dtype=torch.bfloat16,
7 ... )
8 >>> pipe.enable_model_cpu_offload()
9 >>> pipe.load_lora_weights(f"multimodalart/qwen-tarot")
10 >>> image = pipe(f"a trtcrd of a mecha robot").images[0]
11
12# TODO: add an example code snippet for running this diffusion pipeline