Skip to content

light-and-ray/sd-webui-cli-interruption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

cli-interruption

Sets interrupt generation flag on KeyboardInterrupt (Ctrl+C) for sd-webui, instead of closing the server. Can be useful for people who are used to interrupt via command-line, and for extensions which doesn't have interruption button inside ui, but use stable diffusion pipeline

INFO:modules.shared_state:Starting job task(xjhhoo54s2mwdp1)
  6%|▋         | 3/48 [00:03<00:44,  1.02it/s]^C
Caught KeyboardInterrupt, interrupting generation...

It still closes the server if there's no generation in process or crtl-c is pressed two times

About

Interrupt generation on SIGINT signal (Ctrl+C), instead of closing the server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages