from diffusers import DDPMPipeline pipeline = DDPMPipeline.from_pretrained('krasnova/ddim_afhq_64_20epochs') image = pipeline().images[0] image