 be used for computing the prompt embeddings.    Encodes the prompt into text encoder hidden states.  generate_caption  < source > ( images  )    Generates caption for a given image.  invert  < source > ( prompt: typing.Optional[str] = None image: typing.Union[PIL.Image.Image, numpy.ndarray, torch.FloatTensor, typing.List[PIL.Image.Image], typing.List[numpy.ndarray], typing.List[torch.FloatTensor]] = None num_inference_steps: int = 50 guidance_