remove trailing whitespace

This commit is contained in:
asoderlind 2023-10-15 10:23:09 +02:00
parent 09aa56b63d
commit 0ca96130c8

View File

@ -10,7 +10,7 @@ class FaissStore(BaseVectorStore):
embeddings = self._get_embeddings(settings.EMBEDDINGS_NAME, embeddings_key) embeddings = self._get_embeddings(settings.EMBEDDINGS_NAME, embeddings_key)
if docs_init: if docs_init:
self.docsearch = FAISS.from_documents( self.docsearch = FAISS.from_documents(
docs_init, embeddings docs_init, embeddings
) )
else: else:
self.docsearch = FAISS.load_local( self.docsearch = FAISS.load_local(