Commit bbdbbd36 authored by DepFA's avatar DepFA Committed by AUTOMATIC1111

shared.state.interrupt when restart is requested

parent ef40e4cd
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment