File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ def refresh_vae_list(vae_path=vae_path, model_path=model_path):
25
25
global vae_dict , vae_list
26
26
res = {}
27
27
candidates = [
28
- * glob .iglob (os .path .join (model_path , '**/*.vae.pt' ), recursive = True ),
29
28
* glob .iglob (os .path .join (model_path , '**/*.vae.ckpt' ), recursive = True ),
30
- * glob .iglob (os .path .join (vae_path , '**/*.pt' ), recursive = True ),
29
+ * glob .iglob (os .path .join (model_path , '**/*.vae .pt' ), recursive = True ),
31
30
* glob .iglob (os .path .join (vae_path , '**/*.ckpt' ), recursive = True )
31
+ * glob .iglob (os .path .join (vae_path , '**/*.pt' ), recursive = True ),
32
32
]
33
33
if shared .cmd_opts .vae_path is not None and os .path .isfile (shared .cmd_opts .vae_path ):
34
34
candidates .append (shared .cmd_opts .vae_path )
You can’t perform that action at this time.
0 commit comments