Unverified Commit 94b332c4 authored by YiYi Xu's avatar YiYi Xu Committed by GitHub
Browse files

support from_single_file for SDXL inpainting (#4408)



fix
Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
parent 6f4355f8
......@@ -1186,7 +1186,6 @@ def download_from_original_stable_diffusion_ckpt(
StableDiffusionInpaintPipeline,
StableDiffusionPipeline,
StableDiffusionXLImg2ImgPipeline,
StableDiffusionXLPipeline,
StableUnCLIPImg2ImgPipeline,
StableUnCLIPPipeline,
)
......@@ -1543,7 +1542,7 @@ def download_from_original_stable_diffusion_ckpt(
checkpoint, config_name, prefix="conditioner.embedders.1.model.", has_projection=True, **config_kwargs
)
pipe = StableDiffusionXLPipeline(
pipe = pipeline_class(
vae=vae,
text_encoder=text_encoder,
tokenizer=tokenizer,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment