aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuhammad Rizqi Nur <rizqinur2010@gmail.com>2022-10-31 07:42:28 +0000
committerMuhammad Rizqi Nur <rizqinur2010@gmail.com>2022-10-31 07:42:28 +0000
commitb96d0c4e9ecec3c856b9b4ec795dbd0d34fcac51 (patch)
tree0f3cbe7501900337bb0379087ece059626578b3b
parente1b2ea6e0012ecc988385fc523d8fb50ea5d6be5 (diff)
downloadstable-diffusion-webui-gfx803-b96d0c4e9ecec3c856b9b4ec795dbd0d34fcac51.tar.gz
stable-diffusion-webui-gfx803-b96d0c4e9ecec3c856b9b4ec795dbd0d34fcac51.tar.bz2
stable-diffusion-webui-gfx803-b96d0c4e9ecec3c856b9b4ec795dbd0d34fcac51.zip
Fix typo from previous commit
-rw-r--r--modules/sd_vae.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/sd_vae.py b/modules/sd_vae.py
index 0767b925..2ce44d5f 100644
--- a/modules/sd_vae.py
+++ b/modules/sd_vae.py
@@ -27,8 +27,8 @@ def refresh_vae_list(vae_path=vae_path, model_path=model_path):
candidates = [
*glob.iglob(os.path.join(model_path, '**/*.vae.ckpt'), recursive=True),
*glob.iglob(os.path.join(model_path, '**/*.vae.pt'), recursive=True),
- *glob.iglob(os.path.join(vae_path, '**/*.ckpt'), recursive=True)
- *glob.iglob(os.path.join(vae_path, '**/*.pt'), recursive=True),
+ *glob.iglob(os.path.join(vae_path, '**/*.ckpt'), recursive=True),
+ *glob.iglob(os.path.join(vae_path, '**/*.pt'), recursive=True)
]
if shared.cmd_opts.vae_path is not None and os.path.isfile(shared.cmd_opts.vae_path):
candidates.append(shared.cmd_opts.vae_path)