Skip to content

w-e-w/sd-webui-cli-interruption

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

cli-interruption

Sets interrupt generation flag on KeyboardInterrupt signal (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 uses 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.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%