ass using pattern matching on pipeline class name. If a controlnet argument is passed, it will instantiate a StableDiffusionControlNetInpaintPipeline
object. The pipeline is set in evaluation mode (model.eval()) by default.  If you get the error message below, you need to finetune the weights for your downstream task:   Copied Some weights of UNet2DConditionModel were not initialized from the model checkpoint at runwayml/stable-diffusion-v1-5 a