Skip to content

Commit

Permalink
fix: use default vae name instead of None on file refresh (#3045)
Browse files Browse the repository at this point in the history
  • Loading branch information
mashb1t authored May 29, 2024
1 parent 725bf05 commit bf70815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit bf70815

Please sign in to comment.