allow symlinks in the textual inversion embeddings folder

This commit is contained in:
Alex "mcmonkey" Goodwin 2023-01-25 08:48:40 -08:00
parent 635499e832
commit e179b6098a
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class EmbeddingDatabase:
if not os.path.isdir(embdir.path):
return
for root, dirs, fns in os.walk(embdir.path):
for root, dirs, fns in os.walk(embdir.path, followlinks=True):
for fn in fns:
try:
fullfn = os.path.join(root, fn)