llhbr/dreamboot
Viewer • Updated • 22 • 13
How to use llhbr/cpg-products-beer with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("llhbr/cpg-products-beer", dtype=torch.bfloat16, device_map="cuda")
prompt = "a photo of cpg-products beer on a bar"
image = pipe(prompt).images[0]This is a Stable Diffusion model fine-tuned on the cpg-products concept with DreamBooth. It can be used by modifying the instance_prompt: a photo of cpg-products beer
This model was created as part of the DreamBooth Hackathon 🔥. Visit the organisation page for instructions on how to take part!
This is a Stable Diffusion model fine-tuned on beer images for the wildcard theme.
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('llhbr/cpg-products-beer')
image = pipeline().images[0]
image