1oscon commited on
Commit
d01ccca
·
verified ·
1 Parent(s): d2a25a4

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -7
requirements.txt CHANGED
@@ -1,15 +1,18 @@
1
- # Gradio UI and PDF Handling
2
  gradio
3
  PyMuPDF
4
 
5
- # Core DeepSeek-OCR Model Requirements
6
- transformers
7
- torch
8
- torchvision
 
 
 
 
9
  sentencepiece
10
  Pillow
11
  einops
12
  easydict
13
  addict
14
- matplotlib
15
- accelerate
 
1
+ # UI and PDF tools
2
  gradio
3
  PyMuPDF
4
 
5
+ # --- Core Model Dependencies with Forced Versions ---
6
+ # Forcing newer versions to fix the 'LlamaFlashAttention2' ImportError
7
+ transformers>=4.40.0
8
+ accelerate>=0.28.0
9
+ torch>=2.1.0
10
+ torchvision>=0.16.0
11
+
12
+ # Other model dependencies
13
  sentencepiece
14
  Pillow
15
  einops
16
  easydict
17
  addict
18
+ matplotlib