mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
remove trailing whitespace
This commit is contained in:
parent
09aa56b63d
commit
0ca96130c8
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user