the output of the pre-final layer will be used for computing the prompt embeddings.    Encodes the prompt into text encoder hidden states.  AnimateDiffPipelineOutput  class diffusers.pipelines.animatediff.AnimateDiffPipelineOutput  < source > ( frames: Union  )   Parameters   frames (List[List[PIL.Image.Image]] or torch.Tensor or np.ndarray) —