fix linting error

pull/588/head
asoderlind 12 months ago
parent 9b6ae46e92
commit 4752ce5250

@ -18,7 +18,8 @@ class FaissStore(BaseVectorStore):
self.path, embeddings
)
# Check that the word_embedding_dimension of the index matches the word_embedding_dimension of the embeddings
# Check that the word_embedding_dimension of the index matches
# the word_embedding_dimension of the embeddings
if settings.EMBEDDINGS_NAME == HUGGINGFACE_MODEL_NAME:
try:
word_embedding_dimension = embeddings.client[1].word_embedding_dimension

Loading…
Cancel
Save