ikraamkb commited on
Commit
e7a7aea
·
verified ·
1 Parent(s): e8ad5ec

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -14
requirements.txt CHANGED
@@ -1,31 +1,23 @@
1
- # Core web framework
2
  fastapi
3
  uvicorn[standard]
4
 
5
- # File upload handling
6
  python-multipart
7
  aiofiles
8
-
9
- # Templating
10
  jinja2
11
 
12
- # Document processing
13
  python-docx
14
  openpyxl
15
  python-pptx
16
- PyMuPDF # Note: real package name is PyMuPDF (not fitz)
17
- pdfplumber # Add for better PDF text extraction
18
 
19
- # Image processing
20
  Pillow
21
-
22
- # Progress bars (used by transformers)
23
  tqdm
24
 
25
- # Gradio interface
26
  gradio==4.19.2
27
-
28
- # Transformers and model inference (CPU-friendly)
29
  transformers==4.36.2
30
  torch==2.1.2
31
- sentencepiece # Needed for some tokenizer models like BART, T5, etc.
 
 
 
 
 
1
  fastapi
2
  uvicorn[standard]
3
 
 
4
  python-multipart
5
  aiofiles
 
 
6
  jinja2
7
 
 
8
  python-docx
9
  openpyxl
10
  python-pptx
11
+ PyMuPDF
12
+ pdfplumber
13
 
 
14
  Pillow
 
 
15
  tqdm
16
 
 
17
  gradio==4.19.2
 
 
18
  transformers==4.36.2
19
  torch==2.1.2
20
+ sentencepiece
21
+
22
+ # Force compatible version of Pydantic
23
+ pydantic==2.5.3