t8"), "L")
  make_image_grid([raw_image, mask_image, output_image], rows=1, cols=3)  Generate a caption for inversion While you can use the source_prompt as a caption to help generate the partially inverted latents, you can also use the BLIP model to automatically generate a caption. Load the BLIP model and processor from the 🤗 Transformers library:   Copied import torch
from transformers import BlipForConditionalGeneration, BlipProcessor

proc