Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +54 -0
requirements.txt
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CatalystGPT-4 Advanced Document Summarizer Requirements
|
| 2 |
+
# Core Dependencies
|
| 3 |
+
|
| 4 |
+
# Web Interface Framework
|
| 5 |
+
gradio>=4.0.0
|
| 6 |
+
|
| 7 |
+
# Document Processing Libraries
|
| 8 |
+
python-docx>=1.1.0 # Microsoft Word document processing
|
| 9 |
+
PyPDF2>=3.0.1 # PDF text extraction (primary)
|
| 10 |
+
PyMuPDF>=1.23.0 # PDF processing (alternative, better performance)
|
| 11 |
+
|
| 12 |
+
# AI and Machine Learning
|
| 13 |
+
transformers>=4.30.0 # Hugging Face transformers for AI summarization
|
| 14 |
+
torch>=2.0.0 # PyTorch backend for transformers
|
| 15 |
+
tokenizers>=0.13.0 # Tokenization support
|
| 16 |
+
|
| 17 |
+
# Natural Language Processing
|
| 18 |
+
nltk>=3.8 # Advanced text processing and analysis
|
| 19 |
+
textstat>=0.7.0 # Text readability statistics
|
| 20 |
+
|
| 21 |
+
# Data Processing and Utilities
|
| 22 |
+
numpy>=1.24.0 # Numerical operations
|
| 23 |
+
pandas>=2.0.0 # Data manipulation (optional, for advanced features)
|
| 24 |
+
regex>=2023.0.0 # Enhanced regular expression support
|
| 25 |
+
|
| 26 |
+
# Optional GPU Support (uncomment if you have CUDA-compatible GPU)
|
| 27 |
+
# torch-audio>=2.0.0
|
| 28 |
+
# torchaudio>=2.0.0
|
| 29 |
+
|
| 30 |
+
# Development and Testing (optional)
|
| 31 |
+
# pytest>=7.0.0
|
| 32 |
+
# black>=23.0.0
|
| 33 |
+
# flake8>=6.0.0
|
| 34 |
+
|
| 35 |
+
# Additional Text Processing (optional but recommended)
|
| 36 |
+
spacy>=3.6.0 # Advanced NLP (optional)
|
| 37 |
+
textblob>=0.17.0 # Simple text processing (alternative to NLTK)
|
| 38 |
+
|
| 39 |
+
# File Format Support Extensions (optional)
|
| 40 |
+
python-pptx>=0.6.21 # PowerPoint support (future feature)
|
| 41 |
+
openpyxl>=3.1.0 # Excel file support (future feature)
|
| 42 |
+
markdown>=3.4.0 # Enhanced Markdown processing
|
| 43 |
+
|
| 44 |
+
# Performance and Caching (optional)
|
| 45 |
+
joblib>=1.3.0 # Efficient caching and serialization
|
| 46 |
+
psutil>=5.9.0 # System resource monitoring
|
| 47 |
+
|
| 48 |
+
# Security and Validation (recommended)
|
| 49 |
+
validators>=0.20.0 # Input validation
|
| 50 |
+
bleach>=6.0.0 # Text sanitization
|
| 51 |
+
|
| 52 |
+
# Logging and Monitoring (optional)
|
| 53 |
+
colorlog>=6.7.0 # Colored logging output
|
| 54 |
+
tqdm>=4.65.0 # Progress bars for long operations
|