Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +87 -0
requirements.txt
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ==============================================================================
|
| 2 |
+
# Job Application Agent - Requirements.txt
|
| 3 |
+
# Complete dependencies for Hugging Face Spaces deployment
|
| 4 |
+
# ==============================================================================
|
| 5 |
+
|
| 6 |
+
# ==============================================================================
|
| 7 |
+
# CORE DEEP LEARNING FRAMEWORK
|
| 8 |
+
# ==============================================================================
|
| 9 |
+
|
| 10 |
+
# PyTorch - Deep Learning Framework
|
| 11 |
+
torch>=2.0.0,<3.0.0
|
| 12 |
+
torchvision>=0.15.0,<1.0.0
|
| 13 |
+
|
| 14 |
+
# ==============================================================================
|
| 15 |
+
# WEB INTERFACE
|
| 16 |
+
# ==============================================================================
|
| 17 |
+
|
| 18 |
+
# Gradio - ML Web UI
|
| 19 |
+
gradio>=4.0.0,<5.0.0
|
| 20 |
+
|
| 21 |
+
# ==============================================================================
|
| 22 |
+
# DATA PROCESSING & SCIENTIFIC COMPUTING
|
| 23 |
+
# ==============================================================================
|
| 24 |
+
|
| 25 |
+
# Pandas - Data manipulation
|
| 26 |
+
pandas>=2.0.0,<3.0.0
|
| 27 |
+
|
| 28 |
+
# NumPy - Numerical computing
|
| 29 |
+
numpy>=1.24.0,<2.0.0
|
| 30 |
+
|
| 31 |
+
# Scikit-learn - ML utilities and metrics
|
| 32 |
+
scikit-learn>=1.3.0,<2.0.0
|
| 33 |
+
|
| 34 |
+
# SciPy - Scientific computing
|
| 35 |
+
scipy>=1.10.0,<2.0.0
|
| 36 |
+
|
| 37 |
+
# ==============================================================================
|
| 38 |
+
# UTILITIES & CONFIGURATION
|
| 39 |
+
# ==============================================================================
|
| 40 |
+
|
| 41 |
+
# Python-dotenv - Environment variable management
|
| 42 |
+
python-dotenv>=1.0.0,<2.0.0
|
| 43 |
+
|
| 44 |
+
# PyYAML - YAML configuration files
|
| 45 |
+
PyYAML>=6.0,<7.0.0
|
| 46 |
+
|
| 47 |
+
# Requests - HTTP library
|
| 48 |
+
requests>=2.31.0,<3.0.0
|
| 49 |
+
|
| 50 |
+
# ==============================================================================
|
| 51 |
+
# OPTIONAL: TESTING & DEVELOPMENT
|
| 52 |
+
# ==============================================================================
|
| 53 |
+
|
| 54 |
+
# PyTest - Testing framework (optional for local development)
|
| 55 |
+
# pytest>=7.4.0,<8.0.0
|
| 56 |
+
|
| 57 |
+
# PyTest Coverage - Code coverage (optional)
|
| 58 |
+
# pytest-cov>=4.1.0,<5.0.0
|
| 59 |
+
|
| 60 |
+
# Black - Code formatter (optional)
|
| 61 |
+
# black>=23.0.0,<24.0.0
|
| 62 |
+
|
| 63 |
+
# Flake8 - Linting (optional)
|
| 64 |
+
# flake8>=6.0.0,<7.0.0
|
| 65 |
+
|
| 66 |
+
# MyPy - Type checking (optional)
|
| 67 |
+
# mypy>=1.4.0,<2.0.0
|
| 68 |
+
|
| 69 |
+
# ==============================================================================
|
| 70 |
+
# NOTES FOR HUGGING FACE SPACES
|
| 71 |
+
# ==============================================================================
|
| 72 |
+
|
| 73 |
+
# 1. This requirements.txt is optimized for Hugging Face Spaces CPU tier
|
| 74 |
+
# 2. All versions are pinned to ensure compatibility
|
| 75 |
+
# 3. For GPU deployment, install CUDA-compatible versions:
|
| 76 |
+
# pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
|
| 77 |
+
#
|
| 78 |
+
# 4. Installation command:
|
| 79 |
+
# pip install -r requirements.txt
|
| 80 |
+
#
|
| 81 |
+
# 5. Approximate installation time:
|
| 82 |
+
# - CPU tier: 2-3 minutes
|
| 83 |
+
# - GPU tier: 3-5 minutes
|
| 84 |
+
#
|
| 85 |
+
# 6. Size after installation: ~2-3 GB
|
| 86 |
+
#
|
| 87 |
+
# ==============================================================================
|