Upload with huggingface_hub b823a70
Sander Land commited on
How to use sanderland/zelda-the-cat with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("sanderland/zelda-the-cat", dtype=torch.bfloat16, device_map="cuda")
prompt = "a photo of a zzelda cat in space"
image = pipe(prompt).images[0]