How to use rorito/faceDetailer 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("rorito/faceDetailer") prompt = "face-detailer Ultra-detailed close-up portrait of a beautiful woman mid-laugh, golden short pixie cut, sun-kissed fair skin with skin imperfections and freckles, soft shadows contouring her round face, piercing green eyes squinting in joy, expressive light wrinkles around the eyes, photorealistic style, face tilted slightly to the left, minimal background, visible skin pores, facial hair detail, <lora:face-detailer:1>" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!