zero01101 / openOutpaint

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

Eager generation #140

Closed ribawaja closed 1 year ago

ribawaja commented 1 year ago

Added "eager generation" feature, which will automatically generate a configured number of dreams without having to periodically press +/"generate more" or middle mouse button. The number of eagerly generated images is controlled by the "Generate-ahead count" slider in the Dream and Img2Img context menu. As the user advances forward in the list of images, new images are generated and added to the end of the list automatically.

The intent of the feature is to reduce inpainting time when searching for an ideal selection for a difficult-to-replace area. The GPU is kept busy generating new images for the end of the list while the user is inspecting items at the beginning of the list.

zero01101 commented 1 year ago

this is really neat

zero01101 commented 1 year ago

i'm almost positive i screwed up actually merging this how github expected or intended lol; i apologize for closing the request instead of merging but the code should be there now

in any case, thank you muchly, this is a really cool feature <3