Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +9 -11
requirements.txt
CHANGED
@@ -1,18 +1,16 @@
|
|
1 |
-
#
|
2 |
-
torch
|
3 |
-
torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
|
4 |
-
numpy==1.23.5
|
5 |
|
6 |
-
#
|
7 |
-
audiocraft==0.0
|
8 |
-
|
|
|
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 |
-
#
|
14 |
gradio==4.44.1
|
15 |
-
typer==0.9.4 # matches spaCy 3.7.x
|
16 |
|
17 |
-
#
|
|
|
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
|