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

[Feature Request]: Don't save skipped/interrupted generations

Open younyokel opened this issue 3 years ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

This feature would add an option in setting that will automatically remove skipped or interrupted generations, instead of keeping unfinished images.

Proposed workflow

  1. Go to Settings
  2. Press "Don't save skipped/interrupted generations"
  3. When generating an image, press "Interrupt" or "Skip" button above preview

Additional information

No response

younyokel avatar Dec 01 '22 05:12 younyokel

I second this. It's annoying to have to manually remove files that you're not going to use in a million years.

cooperdk avatar Dec 08 '22 01:12 cooperdk

Would also love to have this feature, I interrupt images a lot to make small adjustments and end up having to erase them manually all the time, a simply "Do not save image if process is interrupted option" would do wonders. Has this been implemented in the meantime?

M4CC avatar Jun 30 '23 22:06 M4CC

I don't believe it has, no.

On another note, it should also be possible to enable or disable manual saving of specific images instead of saving all.

cooperdk avatar Jul 01 '23 23:07 cooperdk

On another note, it should also be possible to enable or disable manual saving of specific images instead of saving all.

You just need to turn off "Always save all generated images". but this is quite tedious. Anyway why is it so hard to implement skipped generations removal? If there is a Skip button, it must give some kind of feedback

younyokel avatar Jul 02 '23 17:07 younyokel

It does. Gradio works like Flask and Django, i.e. a UI which connects to the application thru it's API. Even I with my Python knowledge might be able to find the code and disable saving of skipped generations. I will take a look later.

cooperdk avatar Jul 02 '23 19:07 cooperdk

https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12338

catboxanon avatar Aug 07 '23 15:08 catboxanon