How to use LyliaEngine/mugshot with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LyliaEngine/Pony_Diffusion_V6_XL", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("LyliaEngine/mugshot") prompt = "masterpiece, best quality, illustration, mugshot, height chart, 1girl, upper body, holding sign, looking at viewer, medium breasts, short black hair, narrowed yellow eyes, prison clothes, striped shirt" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!