Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +21 -4
requirements.txt
CHANGED
@@ -1,14 +1,31 @@
|
|
|
|
1 |
fastapi
|
2 |
uvicorn[standard]
|
|
|
|
|
3 |
python-multipart
|
4 |
aiofiles
|
|
|
|
|
5 |
jinja2
|
|
|
|
|
6 |
python-docx
|
7 |
openpyxl
|
8 |
python-pptx
|
9 |
-
PyMuPDF
|
|
|
|
|
|
|
10 |
Pillow
|
11 |
-
|
12 |
-
|
13 |
tqdm
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|