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("jonathang/carrotey-vegetable", dtype=torch.bfloat16, device_map="cuda")
prompt = "a photo of carrotey vegetable in the Acropolis"
image = pipe(prompt).images[0]DreamBooth model for the carrotey concept trained by jonathang on the jonathang/dreambooth-hackathon-images dataset.
This is a Stable Diffusion model fine-tuned on the carrotey concept with DreamBooth. It can be used by modifying the instance_prompt: a photo of carrotey vegetable
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 vegetable images for the food theme.
Usage
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('jonathang/carrotey-vegetable')
image = pipeline().images[0]
image
- Downloads last month
- 2