Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +32 -5
requirements.txt
CHANGED
|
@@ -1,9 +1,36 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
transformers>=4.30.0
|
| 3 |
torch>=2.0.0
|
| 4 |
PyPDF2>=3.0.0
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
tokenizers>=0.13.0
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core Dependencies
|
| 2 |
+
gradio>=4.0.0
|
| 3 |
transformers>=4.30.0
|
| 4 |
torch>=2.0.0
|
| 5 |
PyPDF2>=3.0.0
|
| 6 |
+
nltk>=3.8.0
|
| 7 |
+
|
| 8 |
+
# Data Processing
|
| 9 |
+
numpy>=1.24.0
|
| 10 |
+
pandas>=2.0.0
|
| 11 |
+
|
| 12 |
+
# Text Processing & NLP
|
| 13 |
+
sentence-transformers>=2.2.0
|
| 14 |
tokenizers>=0.13.0
|
| 15 |
+
|
| 16 |
+
# Optional: GPU Support (uncomment if you have CUDA-capable GPU)
|
| 17 |
+
# torch==2.0.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 18 |
+
# torchvision==0.15.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 19 |
+
# torchaudio==2.0.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 20 |
+
|
| 21 |
+
# Web Framework & UI
|
| 22 |
+
gradio-client>=0.5.0
|
| 23 |
+
|
| 24 |
+
# Utilities
|
| 25 |
+
regex>=2023.0.0
|
| 26 |
+
tqdm>=4.65.0
|
| 27 |
+
requests>=2.31.0
|
| 28 |
+
|
| 29 |
+
# Optional: Enhanced PDF Processing
|
| 30 |
+
# pymupdf>=1.22.0 # Better PDF extraction (uncomment if needed)
|
| 31 |
+
# python-docx>=0.8.11 # Word document support (future feature)
|
| 32 |
+
|
| 33 |
+
# Development Dependencies (optional)
|
| 34 |
+
# pytest>=7.4.0
|
| 35 |
+
# black>=23.0.0
|
| 36 |
+
# flake8>=6.0.0
|