Commit
·
103fb69
1
Parent(s):
48dbef5
try compatible pytorch version
Browse files- app.py +0 -1
- requirements.txt +4 -2
app.py
CHANGED
|
@@ -64,7 +64,6 @@ def separate_all_stems(audio_file_path: str, model_name: str):
|
|
| 64 |
return output_signals # [drums, bass, other, vocals]
|
| 65 |
|
| 66 |
# Process Function
|
| 67 |
-
@spaces.GPU
|
| 68 |
def process_fn(audio_file_path, model_name):
|
| 69 |
output_signals = separate_all_stems(audio_file_path, model_name)
|
| 70 |
outputs = []
|
|
|
|
| 64 |
return output_signals # [drums, bass, other, vocals]
|
| 65 |
|
| 66 |
# Process Function
|
|
|
|
| 67 |
def process_fn(audio_file_path, model_name):
|
| 68 |
output_signals = separate_all_stems(audio_file_path, model_name)
|
| 69 |
outputs = []
|
requirements.txt
CHANGED
|
@@ -10,8 +10,10 @@ lameenc>=1.2
|
|
| 10 |
openunmix==1.2.1
|
| 11 |
|
| 12 |
# Audio & ML
|
| 13 |
-
torch>=1.8.1, <2.1
|
| 14 |
-
torchaudio>=0.8, <2.1
|
|
|
|
|
|
|
| 15 |
ffmpeg
|
| 16 |
soundfile
|
| 17 |
scipy
|
|
|
|
| 10 |
openunmix==1.2.1
|
| 11 |
|
| 12 |
# Audio & ML
|
| 13 |
+
#torch>=1.8.1, <2.1
|
| 14 |
+
#torchaudio>=0.8, <2.1
|
| 15 |
+
torch>=2.1, <2.3
|
| 16 |
+
torchaudio>=2.1, <2.3
|
| 17 |
ffmpeg
|
| 18 |
soundfile
|
| 19 |
scipy
|