stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Allow configuring behavior for generated files if interrupted

Open space-nuko opened this issue 2 years ago • 0 comments

Describe what this pull request is trying to achieve.

Allows the user to configure the behavior applied to interrupted/skipped generations.

  • Save: default behavior
  • Save to Subdirectory: images are saved to an interrupted subdirectory of the normal output directory
  • Delete: the interrupted gens are deleted

Also marks interrupted gens with Generation state: Interrupted in PNG info

Closes #8456, closes #7577

Additional notes and description of your changes

Some work was done to adjust the output path/saving logic dependent on interrupted/skipped state.

Environment this was tested in

  • OS: Windows
  • Browser: Chrome
  • Graphics card: RTX 3090

space-nuko avatar Mar 14 '23 06:03 space-nuko