Diffusers How to use strangerzonehf/Qd-Sketch with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("strangerzonehf/Qd-Sketch")
prompt = "Qd Sketch, An abstract painting of a woman in a green t-shirt and black pants. The woman is facing the left side of the frame, her left hand is covering her face with her right hand. Her right hand is positioned in front of her face. Her hair is a dark shade of black, and her eyes are a light brown. Her lips are a darker shade of brown. The background is a peach color, and the womans shirt is a vibrant green."
image = pipe(prompt).images[0]