devve1 commited on
Commit
b605162
1 Parent(s): b4c8256

Update storage.py

Browse files
Files changed (1) hide show
  1. 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 = MsgpackFile(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
 
 
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