ghostai1 commited on
Commit
90a684c
Β·
verified Β·
1 Parent(s): 5078881

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -11
requirements.txt CHANGED
@@ -1,18 +1,16 @@
1
- # ── Core CPU wheels (ZeroGPU will move tensors to the temp GPU) ──
2
- torch==2.1.2 --index-url https://download.pytorch.org/whl/cpu
3
- torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
4
- numpy==1.23.5
5
 
6
- # ── Audiocraft & friends (>=0.0.5 bumps spaCy to 3.7 β†’ pydantic-2) ──
7
- audiocraft==0.0.5
8
- spacy==3.7.4 # compatible with pydantic>=2
 
9
  pydub==0.25.1
10
  psutil==5.9.8
11
- transformers==4.35.0 # last version that skips torch.get_default_device()
12
 
13
- # ── Web UI (ZeroGPU demands Gradio 4+) ────────────────────────────
14
  gradio==4.44.1
15
- typer==0.9.4 # matches spaCy 3.7.x
16
 
17
- # ── Hugging Face Hub for token download ───────────────────────────
 
18
  huggingface_hub>=0.28.1,<1.0.0
 
1
+ # Core (torch 2.5.1 + torchaudio 2.5.1 already pre-installed by the Space)
2
+ numpy # let pip pick the matching numpy for the bundled torch
 
 
3
 
4
+ # Music generation stack
5
+ audiocraft==1.0.0 # no spaCy dependency
6
+
7
+ # Utilities
8
  pydub==0.25.1
9
  psutil==5.9.8
 
10
 
11
+ # Web UI
12
  gradio==4.44.1
 
13
 
14
+ # Model download / transformers
15
+ transformers==4.35.0 # avoids torch>=2.6-only helpers
16
  huggingface_hub>=0.28.1,<1.0.0