Downloads · 30 days
17
1% of all-time downloads
AMAN-B/Demo-Dreambooth
Demo-Dreambooth is a text-to-image model from AMAN-B. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
For more detailed instructions, use-cases and examples in JAX follow the instructions here
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
2.1K
Public
Repo size
11.1 GB
Likes
1
Public
Click a slice to open those files.
.bin5.5 GB · 100%
From the Hugging Face model README
from diffusers import StableDiffusionPipeline
import torch
model_id = "runwayml/stable-diffusion-v1-5"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16, revision="fp16")
pipe = pipe.to("cuda")
prompt = "a photo of an astronaut riding a horse on mars"
image = pipe(prompt).images[0]
image.save("astronaut_rides_horse.png")
For more detailed instructions, use-cases and examples in JAX follow the instructions here