Rungpilin commited on
Commit
914bf37
·
verified ·
1 Parent(s): 4070385

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -6
requirements.txt CHANGED
@@ -1,19 +1,21 @@
1
- # Install streamlit first with its required protobuf version
2
- streamlit>=1.28.0
 
 
3
  protobuf>=3.20,<5
4
 
 
 
 
5
  # Core ML/AI dependencies
6
  torch>=2.0.1
7
  transformers>=4.35.0,<=4.43.3
8
  numpy>=1.24.3
9
  soundfile>=0.12.1
10
 
11
- # SongGen dependencies
12
  sentencepiece
13
  descript-audio-codec
14
- # Try installing descript-audiotools without strict protobuf constraint
15
- # It may work with protobuf>=3.20 if the code doesn't strictly require <3.20
16
- descript-audiotools>=0.7.2
17
  omegaconf
18
  einops
19
  demucs
@@ -24,3 +26,8 @@ hangul_romanize
24
  num2words
25
  spacy
26
  nnAudio
 
 
 
 
 
 
1
+ # Alternative requirements.txt - Install descript-audiotools separately
2
+ # This file excludes descript-audiotools to avoid protobuf conflict
3
+
4
+ # Install protobuf first (>=3.20 for streamlit)
5
  protobuf>=3.20,<5
6
 
7
+ # Streamlit
8
+ streamlit>=1.28.0
9
+
10
  # Core ML/AI dependencies
11
  torch>=2.0.1
12
  transformers>=4.35.0,<=4.43.3
13
  numpy>=1.24.3
14
  soundfile>=0.12.1
15
 
16
+ # SongGen dependencies (without descript-audiotools)
17
  sentencepiece
18
  descript-audio-codec
 
 
 
19
  omegaconf
20
  einops
21
  demucs
 
26
  num2words
27
  spacy
28
  nnAudio
29
+
30
+ # NOTE: descript-audiotools>=0.7.2 must be installed manually after build
31
+ # Run this in Hugging Face Space terminal or via custom Dockerfile:
32
+ # pip install --no-deps descript-audiotools>=0.7.2
33
+