[bug] If txt2img/img2img raises an exception, finally call state.end()
Attach a file by drag & drop or click to upload