Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +17 -3
requirements.txt
CHANGED
|
@@ -1,3 +1,17 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core UI & indexing
|
| 2 |
+
streamlit
|
| 3 |
+
llama-index
|
| 4 |
+
llama-index-llms-openai
|
| 5 |
+
faiss-cpu
|
| 6 |
+
|
| 7 |
+
# Embedding fallback (PyTorch on MPS)
|
| 8 |
+
sentence-transformers
|
| 9 |
+
|
| 10 |
+
# PyTorch with Metal support (one line!)
|
| 11 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 12 |
+
torch==2.4.0
|
| 13 |
+
torchvision==0.19.0
|
| 14 |
+
torchaudio==2.4.0
|
| 15 |
+
|
| 16 |
+
# MLX (for MLX‑native models)
|
| 17 |
+
mlx-lm
|