Text-to-Image
Diffusers
PyTorch
StableDiffusionPipeline
stable-diffusion
diffusion-models-class
dreambooth-hackathon
food
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("nahidalam/bhapa-cake", dtype=torch.bfloat16, device_map="cuda")
prompt = "Trump eating bhapa cake"
image = pipe(prompt).images[0]DreamBooth model for the bhapa concept trained by nahidalam on the nahidalam/bhapa dataset.
This is a Stable Diffusion model fine-tuned on the bhapa concept with DreamBooth. It can be used by modifying the instance_prompt: a photo of bhapa cake
This model was created as part of the DreamBooth Hackathon 🔥. Visit the organisation page for instructions on how to take part!
Description
This is a Stable Diffusion model fine-tuned on cake images for the food theme.
Usage
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('nahidalam/bhapa-cake')
image = pipeline().images[0]
image
- Downloads last month
- 1