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("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("lora-library/abc123")

prompt = "abc123"
image = pipe(prompt).images[0]

LoRA DreamBooth - abc123

These are LoRA adaption weights for stabilityai/stable-diffusion-2-1-base. The weights were trained on the instance prompt "abc123" using DreamBooth. You can find some example images in the following.

Test prompt: abc123 image_0 image_1 image_2 image_3

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for lora-library/abc123

Adapter
(711)
this model