Commit e179b609 authored by Alex "mcmonkey" Goodwin's avatar Alex "mcmonkey" Goodwin
Browse files

allow symlinks in the textual inversion embeddings folder

parent 635499e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)