diffusers
e89ab5bc - SDXL ControlNet Union pipelines, make control_image argument immutible (#10663)

Comment changes are shownComment changes are hidden
Commit
144 days ago
SDXL ControlNet Union pipelines, make control_image argument immutible (#10663) controlnet union XL, make control_image immutible when this argument is passed a list, __call__ modifies its content, since it is pass by reference the list passed by the caller gets its content modified unexpectedly make a copy at method intro so this does not happen Co-authored-by: Teriks <Teriks@users.noreply.github.com>
Author
Parents
  • src/diffusers/pipelines/controlnet
    • File
      pipeline_controlnet_union_inpaint_sd_xl.py
    • File
      pipeline_controlnet_union_sd_xl.py
    • File
      pipeline_controlnet_union_sd_xl_img2img.py