💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Fix failing tests
Yash Dattae96bc931f136
diff --git a/src/python/txtai/pipeline/text/translation.py b/src/python/txtai/pipeline/text/translation.pyindex 53291c45..4ce07878 100644--- a/src/python/txtai/pipeline/text/translation.py+++ b/src/python/txtai/pipeline/text/translation.py@@ -156,7 +156,7 @@ class Translation(HFModel):fasttext.FastText.eprint = lambda x: None# Load language detection model- path = cached_download(self.langdetect, legacy_cache_layout=True)+ path = cached_download(path, legacy_cache_layout=True)self.detector = fasttext.load_model(path)# Transform texts to format expected by language detection model