sail-sg / EditAnything

Edit anything in images powered by segment-anything, ControlNet, StableDiffusion, etc. (ACM MM)
Apache License 2.0
3.34k stars 193 forks source link

Why there is no strength parameter for StableDiffusionInpaintPipleline? #75

Open XYZ-916 opened 9 months ago

XYZ-916 commented 9 months ago

The StableDiffusionInpaintPipleline has strength parameter but I did not find it in your code.

Thank you!

gasvn commented 8 months ago

Can you please give more details? I don't really get your question. Thanks.

XYZ-916 commented 8 months ago

In utils/stable_diffusion_controlnet_inpaint.py StableDiffusionControlNetInpaintPipeline call function, there is no strength parameter. But in diffusers, there has strength parameter:

image

image

gasvn commented 8 months ago

It seems the StableDiffusionInpaintPipleline function in diffusers in newer than the code in our repo. It should be easy to add this function to this repo.