Merge pull request #414 from madrang/beta

Set online after preload. Move ident to include in if check.
This commit is contained in:
cmdr2 2022-10-28 13:54:44 +05:30 committed by GitHub
commit 79a7cd2938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):