模型:

krasnova/ddpm-church-fine-tuned-van-gogh-256-2

英文

使用

from diffusers import DDPMPipeline

pipeline = DDPMPipeline.from_pretrained('krasnova/ddpm-church-fine-tuned-van-gogh-256-2')
image = pipeline().images[0]
image