Downloads · 30 days
30
32% of all-time downloads
TakeAswing/sdxl-lora-lofi
sdxl-lora-lofi is a text-to-image model from TakeAswing. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
This repository contains a LoRA adapter trained on Stable Diffusion XL.
Downloads · 30 days
30
32% of all-time downloads
All-time downloads
94
Public
Repo size
111 MB
Likes
1
Public
Click a slice to open those files.
.safetensors89.2 MB · 80%
From the Hugging Face model README
This repository contains a LoRA adapter trained on Stable Diffusion XL.
import torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16
).to("cuda")
pipe.load_lora_weights("YOUR_USERNAME/sdxl-lora-lofi")
image = pipe(
"LofiAnimeStyle, A cozy studyroom at night with rain outside",
num_inference_steps=30,
).images[0]
image.save("output.png")
pytorch_lora_weights.safetensorsadapter_config.json