From 47bd6dc6b8e8c0df99bc2a775508d312bade3107 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 16 Nov 2022 12:14:06 +0530 Subject: [PATCH] Fix render devices auto --- ui/server.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/server.py b/ui/server.py index a142925c..b650673a 100644 --- a/ui/server.py +++ b/ui/server.py @@ -376,7 +376,10 @@ task_manager.default_vae_to_load = resolve_vae_to_use() def update_render_threads(): config = getConfig() - render_devices = config.get('render_devices', "auto") + if 'render_devices' in config: + render_devices = config['render_devices'] + else: + render_devices = 'auto' active_devices = task_manager.get_devices()['active'].keys() print('requesting for render_devices', render_devices)