How to use KappaNeuro/dixit-card-generator with Diffusers:
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-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("KappaNeuro/dixit-card-generator") prompt = "Dixit Card Generator - Bird Card,Framed with shades of deep blues and light sky blues, symbolizing the boundless sky, the Bird Card showcases a vibrant bird in flight. Its opulent feathers spread wide, and its sharp gaze is set on the next target, exuding an air of unpredictability. Upon playing this card, the subsequent player is challenged to draw two cards, representing the potential threats a bird can pose to newly sown seeds." image = pipe(prompt).images[0]