How to use mathpn/dreambooth-friendly-otter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mathpn/dreambooth-friendly-otter", dtype=torch.bfloat16, device_map="cuda") prompt = "an ött3r otter flying over a city at night, neon lights, highly detailed, digital painting, artstation, concept art, sharp focus, illustration, art by artgerm and greg rutkowski and alphonse mucha, cinematic lighting" image = pipe(prompt).images[0]