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("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("peteli/hometown")

prompt = "a sea of lavender and gold flowers in the world of fairy tales is my hometown"
image = pipe(prompt).images[0]

LoRA DreamBooth - peteli/hometown

本仓库的 LoRA 权重是基于 runwayml/stable-diffusion-v1-5 训练而来的,我们采用DreamBooth的技术并使用 a sea of lavender and gold flowers in the world of fairy tales is my hometown 文本进行了训练。

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

Model tree for peteli/hometown

Adapter
(2725)
this model