BoxOfColors Claude Sonnet 4.6 commited on
Commit
3cd40a3
·
1 Parent(s): 24bd825

Add torchaudio via PyTorch cu121 extra-index-url in requirements.txt

Browse files

pre-install.sh is not auto-executed by HF Spaces. Using
--extra-index-url in requirements.txt ensures pip fetches the
CUDA 12.1-compatible torchaudio wheel that matches the pre-installed
torch on the ZeroGPU worker.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. requirements.txt +2 -0
requirements.txt CHANGED
@@ -16,3 +16,5 @@ spaces==0.48.1
16
  gradio==5.25.0
17
  pydantic==2.8.2
18
  av
 
 
 
16
  gradio==5.25.0
17
  pydantic==2.8.2
18
  av
19
+ --extra-index-url https://download.pytorch.org/whl/cu121
20
+ torchaudio