| ############################################### | |
| # Full HuggingFace Spaces Build Requirements # | |
| # Optimized for ZeroGPU compatibility # | |
| ############################################### | |
| # Core UI framework | |
| gradio==4.7.1 | |
| # Image/video processing - compatible versions | |
| Pillow==10.0.1 | |
| av==10.0.0 | |
| numpy | |
| opencv-python-headless | |
| imageio | |
| imageio-ffmpeg | |
| # Configuration | |
| omegaconf==2.3.0 | |
| # ML Core - PyTorch and torchvision | |
| # Note: torchvision is required by src/utils/util.py | |
| torch | |
| torchvision | |
| # Diffusion models stack - upgraded for API compatibility | |
| diffusers==0.25.0 | |
| transformers==4.35.2 | |
| accelerate==0.25.0 | |
| peft==0.7.1 | |
| # HuggingFace ecosystem | |
| huggingface_hub==0.23.0 | |
| safetensors==0.4.5 | |
| # Utilities | |
| einops==0.7.0 | |
| tqdm==4.66.1 | |
| # HF Spaces GPU support | |
| spaces==0.32.0 | |
| # NOTE: TensorFlow removed to avoid numpy version conflicts | |
| # Human segmentation will use fallback method (simple crop/mask) | |
| # For production, install tensorflow separately if needed |