How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Ashfaqmoho/sri_lankan_face_generation")

prompt = "photorealistic portrait of a Sri Lankan person with brown skin and long beard,     natural skin texture, detailed face, Canon 5D photo, 85mm lens, sharp focus, 8k"
image = pipe(prompt).images[0]

Face Generation

Prompt
photorealistic portrait of a Sri Lankan person with brown skin and long beard, natural skin texture, detailed face, Canon 5D photo, 85mm lens, sharp focus, 8k

Model description

LoRA fine-tuned model specialized in generating realistic faces with brown hair. Trained on 1000 Sri Lankan face images. Works with Stable Diffusion v1.5.

Download model

Download them in the Files & versions tab.

Downloads last month
7
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Ashfaqmoho/sri_lankan_face_generation

Adapter
(662)
this model