v11p_sd15_canny.pth"  # can also be a local path
model = ControlNetModel.from_single_file(url)

url = "https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/v1-5-pruned.safetensors"  # can also be a local path
pipe = StableDiffusionControlNetPipeline.from_single_file(url, controlnet=controlnet)  FromOriginalVAEMixin  class diffusers.loaders.FromOriginalVAEMixin  < source > ( )     from_single_file  < source > ( pretrained_model_link_o