Update README.md 02950bd verified
Choquinlabs commited on
How to use furaidosu/enjuto-qwen-image-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("furaidosu/enjuto-qwen-image-lora")
prompt = "a man and a woman dressed in formal clothes standing in a forest surrounded by candles"
image = pipe(prompt).images[0]