aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorddPn08 <pyn.g.1125@gmail.com>2022-10-07 23:02:07 +0900
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-08 15:46:54 +0300
commit772db721a52da374d627b60994222051f26c27a7 (patch)
treeae00be4ffd3da613f9b9d91a19330d1207f634c4
parent7001bffe0247804793dfabb69ac96d832572ccd0 (diff)
fix glob path in hypernetwork.py
-rw-r--r--modules/hypernetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetwork.py b/modules/hypernetwork.py
index c7b86682..7f062242 100644
--- a/modules/hypernetwork.py
+++ b/modules/hypernetwork.py
@@ -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