Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +5 -33
requirements.txt
CHANGED
|
@@ -1,37 +1,9 @@
|
|
| 1 |
-
|
| 2 |
-
gradio>=4.0.0
|
| 3 |
transformers>=4.30.0
|
| 4 |
torch>=2.0.0
|
| 5 |
PyPDF2>=3.0.0
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 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 |
-
|
| 17 |
-
# Optional: GPU Support (uncomment if you have CUDA-capable GPU)
|
| 18 |
-
# torch==2.0.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 19 |
-
# torchvision==0.15.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 20 |
-
# torchaudio==2.0.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 21 |
-
|
| 22 |
-
# Web Framework & UI
|
| 23 |
-
gradio-client>=0.5.0
|
| 24 |
-
|
| 25 |
-
# Utilities
|
| 26 |
-
regex>=2023.0.0
|
| 27 |
-
tqdm>=4.65.0
|
| 28 |
-
requests>=2.31.0
|
| 29 |
-
|
| 30 |
-
# Optional: Enhanced PDF Processing
|
| 31 |
-
# pymupdf>=1.22.0 # Better PDF extraction (uncomment if needed)
|
| 32 |
-
# python-docx>=0.8.11 # Word document support (future feature)
|
| 33 |
-
|
| 34 |
-
# Development Dependencies (optional)
|
| 35 |
-
# pytest>=7.4.0
|
| 36 |
-
# black>=23.0.0
|
| 37 |
-
# flake8>=6.0.0
|
|
|
|
| 1 |
+
gradio>=4.44.0
|
|
|
|
| 2 |
transformers>=4.30.0
|
| 3 |
torch>=2.0.0
|
| 4 |
PyPDF2>=3.0.0
|
| 5 |
+
accelerate>=0.20.0
|
| 6 |
+
sentencepiece>=0.1.99
|
| 7 |
+
protobuf>=3.20.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
tokenizers>=0.13.0
|
| 9 |
+
optimum>=1.12.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|