aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hypernetworks
diff options
context:
space:
mode:
authorIsaac Poulton <flagredomega@gmail.com>2022-11-04 11:34:35 +0000
committerGitHub <noreply@github.com>2022-11-04 11:34:35 +0000
commitfd62727893f9face287b0a9620251afaa38a627d (patch)
tree09d3d2213f3748743d6cf743a1b9f43a868d8c17 /modules/hypernetworks
parent81973091bc07c706d056809d89221bafcd01b38a (diff)
downloadstable-diffusion-webui-gfx803-fd62727893f9face287b0a9620251afaa38a627d.tar.gz
stable-diffusion-webui-gfx803-fd62727893f9face287b0a9620251afaa38a627d.tar.bz2
stable-diffusion-webui-gfx803-fd62727893f9face287b0a9620251afaa38a627d.zip
Sort hypernetworks
Diffstat (limited to 'modules/hypernetworks')
-rw-r--r--modules/hypernetworks/hypernetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py
index 6e1a10cf..f1f04a70 100644
--- a/modules/hypernetworks/hypernetwork.py
+++ b/modules/hypernetworks/hypernetwork.py
@@ -224,7 +224,7 @@ def list_hypernetworks(path):
# Prevent a hypothetical "None.pt" from being listed.
if name != "None":
res[name] = filename
- return res
+ return dict(sorted(res.items()))
def load_hypernetwork(filename):