模型:

krasnova/ddpm_afhq_64

英文

使用

from diffusers import DDPMPipeline

pipeline = DDPMPipeline.from_pretrained('krasnova/ddpm_afhq_64')
image = pipeline().images[0]
image