mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-10 03:02:13 -08:00
shared.state.interrupt when restart is requested
This commit is contained in:
parent
ef40e4cd4d
commit
bbdbbd36ed
1 changed files with 1 additions and 0 deletions
|
|
@ -1210,6 +1210,7 @@ def create_ui(wrap_gradio_gpu_call):
|
|||
)
|
||||
|
||||
def request_restart():
|
||||
shared.state.interrupt()
|
||||
settings_interface.gradio_ref.do_restart = True
|
||||
|
||||
restart_gradio.click(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue