Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Disable tqdm

davidmezzettibbbf849038e9
diff --git a/src/python/txtai/vectors.py b/src/python/txtai/vectors.py
index ca65d641..7bb5c3f5 100644
--- a/src/python/txtai/vectors.py
+++ b/src/python/txtai/vectors.py
@@ -259,5 +259,5 @@ class TransformersVectors(Vectors):
if isinstance(document[1], str):
document = (document[0], Tokenizer.tokenize(document[1]), document[2])
- return self.model.encode([" ".join(document[1])])[0]
+ return self.model.encode([" ".join(document[1])], show_progress_bar=False)[0]
\ No newline at end of file