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

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