This guide will show you how to run inference with textual inversion using a pre-learned concept from the Stable Diffusion Conceptualizer. If you're interested in teaching a model new concepts with textual inversion, take a look at the [Textual Inversion](../training/text_inversion) training guide.  
Import the necessary libraries:  
```py
import torch
from diffusers import StableDiffusionPipeline
from diffusers.utils import make_image_grid
```