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