move long-prompt weighting code to utils by noskill · Pull Request #5100 · huggingface/diffusers

Long-prompt weighting pipeline can't be used with other pipelines e.g. StableDiffusionKDiffusionPipeline this PR moves long-prompt weighting code to utils so that long-prompt weighting can be used ...