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("Akbartus/Mughal-Miniature-Lora")

prompt = "Mughal miniature painting of a castle"
image = pipe(prompt).images[0]

Keywords for image generation: Mughal miniature painting of...

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

Model tree for Akbartus/Mughal-Miniature-Lora

Adapter
(2726)
this model