t with Diffusers for inference.
The inference pipeline is the same for all pipelines:
Take an image and run it through a pre-conditioning processor.
Run the pre-processed image through the StableDiffusionControlNetPipeline.
Let’s have a look at a simple example using the Canny Edge ControlNet.


	Copied
from diffusers import StableDiffusionControlNetPipeline
from diffusers.utils import load_image

# Let's load the popular vermeer image
image = 