zero01101 / openOutpaint

local offline javascript and html canvas outpainting gizmo for stable diffusion webUI API 🐠
MIT License
507 stars 44 forks source link

Add "Restore Face" option #129

Closed wywywywy closed 1 year ago

wywywywy commented 1 year ago

Is your feature request related to a problem? Please describe. Sometimes you have faces in your inpaint/outpaint. And without Codeformer or GFPGAN, the faces usually have artifacts. So I propose the "Restore Face" option from the API to be added.

Describe the solution you'd like New "Restore face" checkbox under the "Stable Diffusion settings" panel.

Additional context Face restore is already one of the parameters we can specify in the txt2img & img2img API call. So there should be no additional logic required.

seijihariki commented 1 year ago

Can you try the testing branch for now?

wywywywy commented 1 year ago

Sorry I don't see a Face Restore checkbox in the testing branch?

zero01101 commented 1 year ago

should be under the stable diffusion settings; check that you're on commit https://github.com/zero01101/openOutpaint/commit/a95906dc8af2d760b1d5313dd8311fb325b58f36 and try reloading the page without cache?

image

wywywywy commented 1 year ago

Yea sorry I forgot that it does a submodule update back to the main branch every time it starts.

I just tested it and it seems to be working well!