End of training 26d5167
Abhishek Bajpai commited on
How to use abhishek1235/pb_models4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("abhishek1235/pb_models4", dtype=torch.bfloat16, device_map="cuda")
prompt = "image of a promotional banner attached on supermarket shelf"
image = pipe(prompt).images[0]