Views
No views yet




1from diffusers import DiffusionPipeline, DPMSolverMultistepScheduler
2import torch
3pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16)
4pipe.load_lora_weights("0x7o/RussianVibe-XL-v2.0")
5pipe.to("cuda")
6pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
7prompt = "The sun is setting through a window, casting a warm glow on the cityscape beyond. The sun casts a warm orange glow on the buildings in the distance, creating a beautiful and serene atmosphere."
8image = pipe(prompt, num_inference_steps=30, guidance_scale=5.0, negative_prompt="bad quality, painting, art").images[0]
9image.save("output.png")