mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 05:12:35 +00:00
shared.state.interrupt when restart is requested
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user