# requirements.txt # Provide the specific torch/torchaudio versions required by PlayDiffusion --find-links https://download.pytorch.org/whl/cu121 torch==2.6.0 torchaudio==2.6.0 # Keep fairseq pinned to a version known to build reliably fairseq==0.12.2 # Other dependencies gradio sentencepiece # We remove tokenizers and xformers, as the new torch/playdiffusion handle them einops pydub unidecode hydra-core av playdiffusion @ git+https://github.com/playht/PlayDiffusion.git ```*(Note: I've also removed `tokenizers` and `xformers` as separate lines. The newer versions of the main libraries often install their own compatible versions, and explicitly listing them can sometimes cause new conflicts. It's best to start with a minimal list.)* ### **What to Do Now** 1. **Replace the content** of your `requirements.txt` file with the new, corrected version above. 2. **Save** the file. 3. **Commit and push** the change to your Hugging Face Space: ```bash git add requirements.txt git commit -m "Resolve torch version conflict required by PlayDiffusion" git push ``` Go back to your Space. It will start building again. This time, `pip` will be able to satisfy all the conditions: `fairseq` gets its stable version, and `PlayDiffusion` gets the exact `torch` version it needs. This should be the final fix to get your Space building successfully.