aagamjtdev commited on
Commit
4acd43e
·
1 Parent(s): c258efe

Fix: CPU only

Browse files
Files changed (1) hide show
  1. requirements.txt +15 -6
requirements.txt CHANGED
@@ -1,6 +1,15 @@
1
- gradio
2
- torch
3
- PyMuPDF
4
- pytesseract
5
- torchcrf
6
- Pillow
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # CPU-only PyTorch (much smaller than GPU version)
3
+ --extra-index-url https://download.pytorch.org/whl/cpu
4
+ torch==2.1.0+cpu
5
+ torchvision==0.16.0+cpu
6
+
7
+ # Core dependencies
8
+ gradio>=4.0.0
9
+ PyMuPDF>=1.23.0
10
+ pytesseract>=0.3.10
11
+ Pillow>=10.0.0
12
+ tqdm>=4.66.0
13
+
14
+ # CRF for sequence tagging
15
+ TorchCRF>=1.0.0