# PyTorch 2.8+ is pre-installed by ZeroGPU — do NOT add torch/torchvision. # HOI-DETR repo is cloned by app.py at startup — do NOT add mmdet here. # # NOTE: mmcv-full (1.7.2, with CUDA ops) is NOT listed here. HF's build phase # uses pip build isolation and does NOT expose Space Variables, so a source # build of mmcv fails (pkg_resources / setuptools). Instead app.py builds mmcv # at runtime, where the Variables are available and we control the pip flags. # Build backend (used by app.py's runtime --no-build-isolation mmcv build). setuptools<80 wheel # inference deps numpy<2.0 scipy timm==0.6.13 fairscale==0.4.13 yapf==0.40.1 opencv-python-headless pycocotools matplotlib pillow fvcore einops # mmdet 2.25.3 runtime deps terminaltables six tensorboard # Gradio / HF spaces gradio>=4.44.0 huggingface_hub>=0.16