Downloads · 30 days
3
4% of all-time downloads
waleriawatson/my-custom-lora
my-custom-lora is a machine learning model from waleriawatson. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as mit.
This is a custom LoRA (Low-Rank Adaptation) model trained on SDXL.
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
82
Public
Repo size
12.6 MB
Likes
0
Public
Click a slice to open those files.
.safetensors12.6 MB · 100%
From the Hugging Face model README
This is a custom LoRA (Low-Rank Adaptation) model trained on SDXL.
from diffusers import StableDiffusionXLPipeline
import torch
# Load the base pipeline
pipeline = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16
)
# Load this LoRA
pipeline.load_lora_weights("YOUR_USERNAME/YOUR_REPO_NAME")
# Generate image
image = pipeline(
"professional portrait of a person, high quality",
num_inference_steps=25,
guidance_scale=7.5
).images[0]
image.save("result.png")