From bf70815a6643d2782bae69ee4c96a7af6f906a1e Mon Sep 17 00:00:00 2001 From: Manuel Schmid <9307310+mashb1t@users.noreply.github.com> Date: Wed, 29 May 2024 19:49:07 +0200 Subject: [PATCH] fix: use default vae name instead of None on file refresh (#3045) --- 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):