shared.state.interrupt when restart is requested

This commit is contained in:
DepFA 2022-10-05 04:43:05 +01:00 committed by AUTOMATIC1111
parent ef40e4cd4d
commit bbdbbd36ed

View file

@ -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(