mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 07:03:06 +03: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