From e93cd7bc3a3de0cc9e889a455f8cca5971764fb0 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Wed, 29 May 2024 19:47:14 +0200 Subject: [PATCH] fix: use default vae name instead of None on file refresh --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 49f00aaba..0dd863506 100644 --- a/webui.py +++ b/webui.py @@ -569,7 +569,7 @@ def refresh_files_clicked(): modules.config.update_files() results = [gr.update(choices=modules.config.model_filenames)] results += [gr.update(choices=['None'] + modules.config.model_filenames)] - results += [gr.update(choices=['None'] + modules.config.vae_filenames)] + results += [gr.update(choices=[flags.default_vae] + modules.config.vae_filenames)] if not args_manager.args.disable_preset_selection: results += [gr.update(choices=modules.config.available_presets)] for i in range(modules.config.default_max_lora_number):