Sort hypernetworks

This commit is contained in:
Isaac Poulton 2022-11-04 18:34:35 +07:00 committed by GitHub
parent 81973091bc
commit fd62727893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):