To use the mode for inference, just load it like a normal stable diffusion pipeline:
from diffusers import StableDiffusionPipeline
model_path = "johnowhitaker/rainbowdiffusion"
pipe = StableDiffusionPipeline.from_pretrained(model_path, torch_dtype=torch.float16)
pipe.to("cuda")
image = pipe(prompt="A cat").images[0]
image
- Downloads last month
- 4
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.