"""  Reuse components across pipelines You can also reuse the same components in multiple pipelines to avoid loading the weights into RAM twice. Use the components method to save the components:   Copied from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline