AegionX commited on
Commit
07dc6e6
·
verified ·
1 Parent(s): 8c4019d

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -6
requirements.txt CHANGED
@@ -2,9 +2,10 @@ streamlit==1.36.0
2
 
3
  # Core deps
4
  datasets==3.2.0
 
 
5
  huggingface_hub==0.29.1
6
 
7
- # Haystack + Transformers
8
  haystack-ai==2.0.1
9
  transformers==4.39.3
10
  torch==2.2.0
@@ -12,10 +13,8 @@ accelerate==0.29.2
12
  sentence-transformers==2.6.1
13
  sentencepiece
14
 
15
- # Extra
16
  mmh3==4.1.0
17
 
18
- # --- FORCE FIX THE HUB VERSION ---
19
- # HF Spaces overrides this, so we override it BACK
20
- --extra-index-url https://download.pytorch.org/whl/cpu
21
- huggingface_hub==0.29.1
 
2
 
3
  # Core deps
4
  datasets==3.2.0
5
+
6
+ # Haystack needs hub <1.0
7
  huggingface_hub==0.29.1
8
 
 
9
  haystack-ai==2.0.1
10
  transformers==4.39.3
11
  torch==2.2.0
 
13
  sentence-transformers==2.6.1
14
  sentencepiece
15
 
 
16
  mmh3==4.1.0
17
 
18
+ # --- Force pip to obey constraints.txt ---
19
+ -c constraints.txt
20
+