 compatible with the StableDiffusionPipeline we should pass a generator while calling the pipeline. First, we generate images with a
fixed seed with the v1-4 Stable Diffusion checkpoint:


	Copied
seed = 0
generator = torch.manual_seed(seed)

images = sd_pipeline(prompts, num_images_per_prompt=1, generator=generator, output_type="numpy").images
Then we load the v1-5 checkpoint to generate images: 


	Copied
model_ckpt_1_5 = "runwayml/stable-dif