glucauze / sd-webui-faceswaplab

Extended faceswap extension for StableDiffusion web-ui with multiple faceswaps, inpainting, checkpoints, ....
https://glucauze.github.io/sd-webui-faceswaplab/
GNU Affero General Public License v3.0
764 stars 104 forks source link

Allow faceswaplab to run before other extensions #154

Open hassan-sd opened 1 year ago

hassan-sd commented 1 year ago

With Reactor, I can rename the extension folder to_sd-webui-reactor which allows me to perform a faceswap directly after the image is generated but before other extensions like Adetailer.

When I try to rename faceswaplab it doesn't make a difference, it always runs last, after Adetailer has run.

The benefit of running before Adetailer means I can do a faceswap and enhance the details with my adetailer ultralytics models such as eyes/face/hair etc. on the already faceswapped image. The faceswaplab "post processing" isn't as sufficient as using Adetailer to perform enhancements to specific areas.

Request Allow a custom setting so we can choose to run faceswaplab at different stages of the image creation process in txt2img, such as 1st or last.

zexcster commented 1 year ago

Even more, would be good to have it run before the highres fix

isu-shrestha commented 11 months ago

Same. Seems to me that we are deliberately running this last. If someone could point to the part of code that is doing this, I can update and send in a PR