</Tip>  
Load the text encoder model used by the [`StableDiffusionDiffEditPipeline`] to encode the text. You'll use the text encoder to compute the text embeddings:  
```py
import torch
from diffusers import StableDiffusionDiffEditPipeline