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("stabilityai/stable-diffusion-2-1", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Danhearn/spectrogram")

prompt = "mel-spectrograms amen breakbeats"
image = pipe(prompt).images[0]

AutoTrain LoRA DreamBooth - Danhearn/spectrogram

These are LoRA adaption weights for stabilityai/stable-diffusion-2-1. The weights were trained on mel-spectrograms amen breakbeats using DreamBooth. LoRA for the text encoder was enabled: True.

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

Model tree for Danhearn/spectrogram

Adapter
(347)
this model