# This is what the Hugging Face Space build actually installs (Spaces read # requirements.txt, not pyproject.toml). Keep in sync with pyproject.toml. # # gradio and spaces are intentionally NOT pinned here: on a ZeroGPU Space, # the builder already force-installs an exact `gradio[oauth,mcp]==...` # (matching README.md's `sdk_version`) and `spaces==...` (the ZeroGPU SDK # app.py imports for the `@spaces.GPU` decorator). Adding a second, looser # requirement for either here only grows the resolver's search space. # # qwen-asr's own metadata leaves several transitive deps unpinned # (librosa, qwen-omni-utils, flask, sox, pytz), which combined with a bare # numpy/torch requirement makes pip's resolver back-track across a huge # version matrix and fail with "Dependency resolution exceeded maximum # depth". Pinning the whole chain to exact, known-mutually-compatible # versions keeps the search space small. # # Two constraints this pins around, verified with `pip install --dry-run`: # - gradio must stay <6.18.0: 6.18.0+ requires huggingface-hub>=1.2.0, # which conflicts with transformers==4.57.6 (pinned by qwen-asr, needs # huggingface-hub<1.0). README.md's sdk_version is pinned to 6.17.3 # to match — bump both together or not at all. # - Space python_version must stay 3.11 (see README.md): soynlp==0.0.493 # (pinned by qwen-asr) fails to build on Python 3.12+. torch==2.11.0 numpy soundfile==0.14.0 librosa==0.11.0 qwen-omni-utils==0.0.9 flask==3.1.3 sox==1.5.0 pytz==2026.2 qwen-asr==0.0.6