aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Poulton <flagredomega@gmail.com>2022-11-04 18:34:35 +0700
committerGitHub <noreply@github.com>2022-11-04 18:34:35 +0700
commitfd62727893f9face287b0a9620251afaa38a627d (patch)
tree09d3d2213f3748743d6cf743a1b9f43a868d8c17
parent81973091bc07c706d056809d89221bafcd01b38a (diff)
Sort 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):