 and scheduler separately, let’s write our own denoising process. Load the model and scheduler:   Copied >>> from diffusers import DDPMScheduler, UNet2DModel

>>> scheduler = DDPMScheduler.from_pretrained("google/ddpm-cat-256")
>>> model = UNet2DModel.from_pretrained("google/ddpm-cat-256", use_safetensors=True).to("cuda") Set the number of timesteps to run the denoising process for:   Copied >>> scheduler.set_timesteps(50) Setting the scheduler