mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
fix linting error
This commit is contained in:
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…
Reference in New Issue
Block a user