Commit 772db721 authored by ddPn08's avatar ddPn08 Committed by AUTOMATIC1111

fix glob path in hypernetwork.py

parent 7001bffe
......@@ -43,7 +43,7 @@ class Hypernetwork:
def load_hypernetworks(path):
res = {}
for filename in glob.iglob(path + '**/*.pt', recursive=True):
for filename in glob.iglob(os.path.join(path, '**/*.pt'), recursive=True):
try:
hn = Hypernetwork(filename)
res[hn.name] = hn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment