mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08: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