SenshiSentou / sd-webui-state-manager

A state manager to quickly save and return to previous configs in A1111
MIT License
55 stars 6 forks source link

Handle no preview image available #3

Closed Nadahar closed 6 months ago

Nadahar commented 7 months ago

In some situations, like if the generation has been interrupted before a preview has been generated, no preview image exists. This leads to errors when trying to generate later, which means that the webUI must be reloaded and everything is "reset" (which is a hassle).

I don't know if this is the best way to solve it, but I've tested it for some time and it seems to take care of the problem.

SenshiSentou commented 6 months ago

Sorry, I completely missed this! Merging it in now, thank you so much!