Diffusers How to use Shakker-Labs/AWPortrait-QW 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("Shakker-Labs/AWPortrait-QW")
prompt = "Black and white portrait of an Asian woman with dynamic hair movement,wearing a dark jacket against a light background.,"
image = pipe(prompt).images[0]