Spaces:
Starting
on
T4
Starting
on
T4
Update storage.py
Browse files- storage.py +1 -1
storage.py
CHANGED
@@ -3,7 +3,7 @@ import File
|
|
3 |
class LocalFileStore:
|
4 |
def __init__(self, file_type, base_path, name):
|
5 |
self.embeddings_path = os.path.join(base_path, 'embeddings')
|
6 |
-
self.chunks_path =
|
7 |
self.dense_path = NumpyFile(os.path.join(self.embeddings_path, f'{name}_dense.npz'))
|
8 |
self.sparse_path = SparseFile(os.path.join(self.embeddings_path, f'{name}_sparse.npz'))
|
9 |
|
|
|
3 |
class LocalFileStore:
|
4 |
def __init__(self, file_type, base_path, name):
|
5 |
self.embeddings_path = os.path.join(base_path, 'embeddings')
|
6 |
+
self.chunks_path = file_type(os.path.join(self.embeddings_path, f'{name}_chunks.msgpack'))
|
7 |
self.dense_path = NumpyFile(os.path.join(self.embeddings_path, f'{name}_dense.npz'))
|
8 |
self.sparse_path = SparseFile(os.path.join(self.embeddings_path, f'{name}_sparse.npz'))
|
9 |
|