mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Sort hypernetworks
This commit is contained in:
parent
81973091bc
commit
fd62727893
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user