gradio==5.9.1 huggingface_hub>=0.26 # Python 3.13 removed the stdlib `audioop` module (PEP 594) which gradio's # pydub dependency still imports. We pin python_version: "3.11" in README # frontmatter, but include the backport too in case the Space ever rolls to 3.13+. audioop-lts; python_version >= "3.13" # CPU-only torch wheels are smaller and avoid pulling CUDA dependencies that # the Basic Space cannot use. torch>=2.4 torchvision>=0.19 transformers>=4.45 pillow>=10.2 numpy>=1.26 opencv-python-headless>=4.9 git+https://github.com/facebookresearch/segment-anything-2.git