Update pipeline_controlnet_sd_xl_img2img.py (#7353)

* Update pipeline_controlnet_sd_xl_img2img.py

fix: safetensors load error

* fix for pass test

---------

Co-authored-by: YiYi Xu <yixu310@gmail.com>
This commit is contained in:
PJC
2024-03-20 04:29:39 +09:00
committed by GitHub
parent 80ff4ba63e
commit e6a5f99e5c
@@ -32,6 +32,7 @@ from diffusers.utils.import_utils import is_invisible_watermark_available
from ...image_processor import PipelineImageInput, VaeImageProcessor
from ...loaders import (
FromSingleFileMixin,
IPAdapterMixin,
StableDiffusionXLLoraLoaderMixin,
TextualInversionLoaderMixin,
@@ -161,6 +162,7 @@ class StableDiffusionXLControlNetImg2ImgPipeline(
StableDiffusionMixin,
TextualInversionLoaderMixin,
StableDiffusionXLLoraLoaderMixin,
FromSingleFileMixin,
IPAdapterMixin,
):
r"""