| # DiffViews - HuggingFace Spaces Requirements | |
| # Requires Python 3.10+ | |
| # Package installed via git clone in app.py (bypasses pip cache) | |
| # Core dependencies | |
| torch>=2.0.0 | |
| numpy>=1.21.0 | |
| pandas>=1.5.0 | |
| pillow>=9.0.0 | |
| scikit-learn>=1.0.0 | |
| umap-learn>=0.5.0 | |
| tqdm>=4.60.0 | |
| # Numba pinned for UMAP pickle compatibility | |
| numba==0.58.1 | |
| # Visualization - Gradio 6 for HF Spaces compatibility | |
| gradio>=6.0.0 | |
| plotly>=5.18.0 | |
| matplotlib>=3.5.0 | |
| # HuggingFace Hub | |
| huggingface_hub>=0.25.0 | |
| # ZeroGPU support (no-op when not on HF Spaces) | |
| spaces | |
| # Cloudflare R2 cache (S3-compatible) | |
| boto3>=1.28.0 | |
| # Optional but useful | |
| scipy>=1.7.0 | |