Instructions to use Ashfaqmoho/sri_lankan_face_generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ashfaqmoho/sri_lankan_face_generation with Diffusers:
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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
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
Model tree for Ashfaqmoho/sri_lankan_face_generation
Base model
stable-diffusion-v1-5/stable-diffusion-v1-5