Allow faceswaplab to run before other extensions #154

Open
opened 2023-11-16 14:21:38 +01:00 by hassan-sd · 2 comments
hassan-sd commented 2023-11-16 14:21:38 +01:00 (Migrated from github.com)

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.

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 2023-11-20 09:07:01 +01:00 (Migrated from github.com)

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

Even more, would be good to have it run before the highres fix
isu-shrestha commented 2024-01-03 23:10:55 +01:00 (Migrated from github.com)

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

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
Sign in to join this conversation.