aboutsummaryrefslogtreecommitdiffstats
path: root/extensions-builtin/Lora/lora.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-13 12:21:39 +0000
committerGitHub <noreply@github.com>2023-07-13 12:21:39 +0000
commitb7c5b30f14aadffadd2d35cb3ecb3e91af00581d (patch)
tree0e51f517bb6ac010c0e3dc5937d112656ec9ee9a /extensions-builtin/Lora/lora.py
parent14501f56aaf3c97fb2c38633350dc747b9651f43 (diff)
parent262ec8ecdaf10d8fe49d0227e24bd3a1459e87b5 (diff)
downloadstable-diffusion-webui-gfx803-b7c5b30f14aadffadd2d35cb3ecb3e91af00581d.tar.gz
stable-diffusion-webui-gfx803-b7c5b30f14aadffadd2d35cb3ecb3e91af00581d.tar.bz2
stable-diffusion-webui-gfx803-b7c5b30f14aadffadd2d35cb3ecb3e91af00581d.zip
Merge branch 'dev' into master
Diffstat (limited to 'extensions-builtin/Lora/lora.py')
-rw-r--r--extensions-builtin/Lora/lora.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions-builtin/Lora/lora.py b/extensions-builtin/Lora/lora.py
index 34ff57dd..cd46e6c7 100644
--- a/extensions-builtin/Lora/lora.py
+++ b/extensions-builtin/Lora/lora.py
@@ -443,7 +443,7 @@ def list_available_loras():
os.makedirs(shared.cmd_opts.lora_dir, exist_ok=True)
candidates = list(shared.walk_files(shared.cmd_opts.lora_dir, allowed_extensions=[".pt", ".ckpt", ".safetensors"]))
- for filename in sorted(candidates, key=str.lower):
+ for filename in candidates:
if os.path.isdir(filename):
continue