llow fire hydrant is on a sidewalk in the foreground.',
]
Now we can use these prompts to generate some images using Stable Diffusion (v1-4 checkpoint):


	Copied
import torch

seed = 0
generator = torch.manual_seed(seed)

images = sd_pipeline(sample_prompts, num_images_per_prompt=1, generator=generator, output_type="numpy").images

We can also set num_images_per_prompt accordingly to compare different images for the same prompt. Running the sa