mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-29 13:55:26 +02:00
Set online after preload. Move ident to include in if check.
This commit is contained in:
parent
2432491bfc
commit
26562e445f
@ -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