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