|
|
|
|
@ -347,7 +347,7 @@ def list_available_loras():
|
|
|
|
|
glob.glob(os.path.join(shared.cmd_opts.lora_dir, '**/*.safetensors'), recursive=True) + \
|
|
|
|
|
glob.glob(os.path.join(shared.cmd_opts.lora_dir, '**/*.ckpt'), recursive=True)
|
|
|
|
|
|
|
|
|
|
for filename in sorted(candidates):
|
|
|
|
|
for filename in sorted(candidates, key=str.lower):
|
|
|
|
|
if os.path.isdir(filename):
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|