Instructions to use Akbartus/Mughal-Miniature-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Akbartus/Mughal-Miniature-Lora with Diffusers:
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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
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
- 31
Model tree for Akbartus/Mughal-Miniature-Lora
Base model
runwayml/stable-diffusion-v1-5