ikraamkb commited on
Commit
8947a1f
·
verified ·
1 Parent(s): fec272c

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +7 -23
requirements.txt CHANGED
@@ -1,32 +1,16 @@
1
- # FastAPI and ASGI server
2
  fastapi
3
  uvicorn[standard]
4
-
5
- # Gradio interface
6
  gradio==4.19.2
7
 
8
- # Transformers and inference
9
- transformers==4.36.2
10
- torch==2.1.2
11
- sentencepiece
12
-
13
- # Document processing
14
  python-docx
15
  openpyxl
16
  python-pptx
17
- PyMuPDF # for fitz-based PDF text extraction
18
-
19
- # PDF OCR fallback (optional)
20
- pdfplumber # optional if you want enhanced PDF OCR/text fallback
21
 
22
- # Image processing
23
- Pillow
24
- easyocr
25
- numpy # required by easyocr
26
-
27
- # File upload handling
28
- python-multipart
29
- aiofiles
30
-
31
- # Progress bars and logging (used by transformers)
32
  tqdm
 
 
 
1
  fastapi
2
  uvicorn[standard]
 
 
3
  gradio==4.19.2
4
 
5
+ # Document and image handling
 
 
 
 
 
6
  python-docx
7
  openpyxl
8
  python-pptx
9
+ PyMuPDF
10
+ pillow
 
 
11
 
12
+ # Model & NLP
13
+ transformers==4.36.2
14
+ torch==2.1.2
 
 
 
 
 
 
 
15
  tqdm
16
+ sentencepiece