Diffusers How to use Osama03/Finetuned_diffusion_interiordesign with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Osama03/Finetuned_diffusion_interiordesign")
prompt = "Design a modern home office with a large wooden desk facing a window, a comfortable ergonomic chair, and shelves filled with books and decorative items. Include a laptop on the desk, a small indoor plant, and a motivational quote framed on the wall. The color scheme should be calm and professional, with light gray walls and blue accents."
image = pipe(prompt).images[0]