Update requirements.txt
Browse files- requirements.txt +22 -4
requirements.txt
CHANGED
@@ -1,4 +1,22 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Core dependencies
|
2 |
+
torch>=2.0.0
|
3 |
+
transformers>=4.30.0
|
4 |
+
gradio>=4.0.0
|
5 |
+
|
6 |
+
# PDF Processing
|
7 |
+
PyMuPDF>=1.22.3 # Better PDF text extraction
|
8 |
+
PyPDF2>=3.0.0 # Backup PDF processing
|
9 |
+
|
10 |
+
# NLP and Text Processing
|
11 |
+
nltk>=3.8.1
|
12 |
+
regex>=2023.5.5
|
13 |
+
|
14 |
+
# Utils
|
15 |
+
tqdm>=4.65.0
|
16 |
+
typing>=3.7.4.3
|
17 |
+
numpy>=1.24.0
|
18 |
+
pandas>=2.0.0
|
19 |
+
|
20 |
+
# Optional but recommended for better performance
|
21 |
+
scikit-learn>=1.2.0 # For text preprocessing utilities
|
22 |
+
python-Levenshtein>=0.21.0 # For better string matching
|