How to use strangerzonehf/Qc-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/Qc-Sketch") prompt = "Qc-Sketch, A black and white sketch of a mans face is shown. He is wearing a black baseball cap with a white letter A on the front of it. He has a black beard and glasses on his face. His mouth is slightly open and he is speaking. His ears are sticking out of the cap. His eyes are blue and he has a slight smile on his lips." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!