Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Update setup.py to filter gh-dark-mode-only images

davidmezzettie747c9a1d9e9
diff --git a/setup.py b/setup.py
index 057566c7..84895123 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,8 @@
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as f:
- DESCRIPTION = f.read()
+ # Filter GitHub dark mode images
+ DESCRIPTION = "".join([line for line in f if "gh-dark-mode-only" not in line])
# Required dependencies
install = ["faiss-cpu>=1.7.1.post2", "numpy>=1.18.4", "torch>=1.6.0", "transformers>=4.12.3", "tokenizers>=0.10.3"]