brandonmusic commited on
Commit
b00b3a3
·
verified ·
1 Parent(s): ceeca06

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -3
requirements.txt CHANGED
@@ -1,13 +1,16 @@
1
  packaging==24.1
2
  Flask==3.0.3
3
  Werkzeug==3.0.4
 
 
4
  requests==2.32.3
5
  urllib3==2.2.3
6
  beautifulsoup4==4.12.3
7
  lxml==5.3.0
8
  pdfplumber==0.11.4
 
9
  python-docx==1.1.2
10
- docx2pdf==0.1.8
11
  openai==1.51.0
12
  google-api-python-client==2.149.0
13
  datasets==3.0.1
@@ -16,10 +19,10 @@ huggingface-hub==0.25.2
16
  rank-bm25==0.2.2
17
  scikit-learn==1.5.2
18
  numpy==2.1.2
19
- torch==2.4.1
20
  sentence-transformers==3.1.1
21
  faiss-cpu==1.9.0
22
  httpx==0.27.2
23
  transformers==4.45.2
24
  pillow==10.4.0
25
- flash-attn==2.6.3
 
1
  packaging==24.1
2
  Flask==3.0.3
3
  Werkzeug==3.0.4
4
+ flask-cors==4.0.1 # optional but handy if you front this from another origin
5
+ gunicorn==23.0.0 # optional if you use gunicorn on Spaces
6
  requests==2.32.3
7
  urllib3==2.2.3
8
  beautifulsoup4==4.12.3
9
  lxml==5.3.0
10
  pdfplumber==0.11.4
11
+ pdfminer.six==20231228 # explicit; pdfplumber depends on it anyway
12
  python-docx==1.1.2
13
+ docx2pdf==0.1.8 # keep if you accept it failing on Linux unless you add a LibreOffice fallback
14
  openai==1.51.0
15
  google-api-python-client==2.149.0
16
  datasets==3.0.1
 
19
  rank-bm25==0.2.2
20
  scikit-learn==1.5.2
21
  numpy==2.1.2
22
+ torch==2.4.1 # CPU wheel installs fine on Spaces
23
  sentence-transformers==3.1.1
24
  faiss-cpu==1.9.0
25
  httpx==0.27.2
26
  transformers==4.45.2
27
  pillow==10.4.0
28
+ # flash-attn==2.6.3 # ❌ remove: requires CUDA; will fail to build on Spaces