Output is returned,
otherwise a tuple is returned where the first element is a list with the generated images.
  The call function to the pipeline for generation.  Examples:   Copied >>> import torch
>>> from diffusers import DiffusionPipeline
>>> from diffusers.utils import export_to_gif

>>> device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

>>> repo = "openai/shap-e"
>>> pipe = DiffusionPipeline.from_pretrained(repo, torc