Someman/momo
Viewer • Updated • 20 • 34
How to use Someman/food-momos with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Someman/food-momos", dtype=torch.bfloat16, device_map="cuda")
prompt = "dog eating food momos"
image = pipe(prompt).images[0]This is a Stable Diffusion model fine-tuned on the food concept with DreamBooth. It can be used by modifying the instance_prompt: a photo of food momos
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 momos images for the food theme.
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('Someman/food-momos')
image = pipeline().images[0]
image