forked from extern/easydiffusion
Merge pull request #414 from madrang/beta
Set online after preload. Move ident to include in if check.
This commit is contained in:
commit
79a7cd2938
@ -252,7 +252,7 @@ def thread_render(device):
|
|||||||
}
|
}
|
||||||
if runtime.thread_data.device != 'cpu' or is_alive() == 1:
|
if runtime.thread_data.device != 'cpu' or is_alive() == 1:
|
||||||
preload_model()
|
preload_model()
|
||||||
current_state = ServerStates.Online
|
current_state = ServerStates.Online
|
||||||
while True:
|
while True:
|
||||||
task_cache.clean()
|
task_cache.clean()
|
||||||
if isinstance(current_state_error, SystemExit):
|
if isinstance(current_state_error, SystemExit):
|
||||||
|
Loading…
Reference in New Issue
Block a user