From 26562e445fc67c722740b3678d7adf1e90f6764b Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Fri, 28 Oct 2022 04:09:34 -0400 Subject: [PATCH] Set online after preload. Move ident to include in if check. --- ui/sd_internal/task_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/sd_internal/task_manager.py b/ui/sd_internal/task_manager.py index 034e0f69..326b4dcb 100644 --- a/ui/sd_internal/task_manager.py +++ b/ui/sd_internal/task_manager.py @@ -252,7 +252,7 @@ def thread_render(device): } if runtime.thread_data.device != 'cpu' or is_alive() == 1: preload_model() - current_state = ServerStates.Online + current_state = ServerStates.Online while True: task_cache.clean() if isinstance(current_state_error, SystemExit):