{} | |
Hi | |
``` | |
python | |
from diffusers import DDPMPipeline | |
pipeline = DDPMPipeline.from_pretrained('cp-cp/sd-class-butterflies') | |
pipeline.to("cuda") | |
image = pipeline ().images [0] | |
image | |
``` | |
{} | |
Hi | |
``` | |
python | |
from diffusers import DDPMPipeline | |
pipeline = DDPMPipeline.from_pretrained('cp-cp/sd-class-butterflies') | |
pipeline.to("cuda") | |
image = pipeline ().images [0] | |
image | |
``` | |