Spaces:
No application file
No application file
Update requirements.txt
Browse files- requirements.txt +21 -1
requirements.txt
CHANGED
|
@@ -1,3 +1,23 @@
|
|
| 1 |
altair
|
| 2 |
pandas
|
| 3 |
-
streamlit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
altair
|
| 2 |
pandas
|
| 3 |
+
streamlit
|
| 4 |
+
# Core
|
| 5 |
+
streamlit>=1.32.0
|
| 6 |
+
torch>=2.1.0,<2.4.0 # CPU-only version — auto-installed on Streamlit Cloud
|
| 7 |
+
transformers>=4.38.0,<5.0.0
|
| 8 |
+
accelerate>=0.27.0
|
| 9 |
+
|
| 10 |
+
# Hugging Face
|
| 11 |
+
huggingface-hub>=0.20.0
|
| 12 |
+
sentence-transformers>=2.5.0
|
| 13 |
+
|
| 14 |
+
# LangChain + Vector Store
|
| 15 |
+
langchain-huggingface>=0.0.3
|
| 16 |
+
langchain-community>=0.0.30
|
| 17 |
+
faiss-cpu>=1.7.4 # ✅ MUST use faiss-cpu — GPU not available
|
| 18 |
+
|
| 19 |
+
# Document Loader
|
| 20 |
+
pypdf>=4.0.0
|
| 21 |
+
|
| 22 |
+
# Optional (for .env support)
|
| 23 |
+
python-dotenv>=1.0.0
|