Diffusers How to use lokesh6309/Diff_Face with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("lokesh6309/Diff_Face")
prompt = "A rugged face with a thick mustache, dark eyes under a wide-brimmed hat. The expression is stern and untrustworthy, with wrinkles indicating years of experience as a notorious thief. Dressed in worn-out clothes, he carries an air of danger.."
image = pipe(prompt).images[0]