Instructions to use Ashfaqmoho/sketch-to-face-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ashfaqmoho/sketch-to-face-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/realistic-vision-v51", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Ashfaqmoho/sketch-to-face-lora") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/realistic-vision-v51", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Ashfaqmoho/sketch-to-face-lora")
prompt = "-"
image = pipe(prompt).images[0]Sketch-to-Face LoRA (SLPD)

- Prompt
- -
Model description
LoRA for generating realistic Sri Lankan faces from a ControlNet Canny edge map, used in the composite sketch-to-face feature of the SLPD AI system. Not for public use.
Download model
Download them in the Files & versions tab.
- Downloads last month
- -
Model tree for Ashfaqmoho/sketch-to-face-lora
Base model
stablediffusionapi/realistic-vision-v51