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("gagan3012/gagan", dtype=torch.bfloat16, device_map="cuda")

prompt = "photo of a handsome man posing"
image = pipe(prompt).images[0]

DreamBooth trained by AutoTrain

Test enoder was not trained.

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for gagan3012/gagan

Finetuned
(1189)
this model

Space using gagan3012/gagan 1