Downloads · 30 days
67
2% of all-time downloads
ostris/depth-of-field-slider-lora
depth-of-field-slider-lora is a text-to-image model from ostris. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
67
2% of all-time downloads
All-time downloads
2.8K
Public
Repo size
8.3 MB
Likes
4
Public
Click a slice to open those files.
.safetensors6.4 MB · 72%
From the Hugging Face model README
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ostris/depth-of-field-slider-lora', weight_name='depth_of_field_slider_v1.safetensors')
image = pipeline('photo of a woman with light brown hair, posing for a photo, centered streets of big city ').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers