Spaces:
Runtime error
Runtime error
yoyololicon
commited on
Commit
•
cc3b92d
1
Parent(s):
5b14995
feat: add checkpoints
Browse files- app.py +1 -0
- checkpoints/demucs_4_decoders.pth +3 -0
- checkpoints/unet_attention.pth +3 -0
- checkpoints/xumx_mwf.pth +3 -0
- requirements.txt +0 -1
app.py
CHANGED
@@ -6,6 +6,7 @@ from scipy.io.wavfile import write
|
|
6 |
def inference(audio):
|
7 |
os.makedirs("out", exist_ok=True)
|
8 |
write('test.wav', audio[0], audio[1])
|
|
|
9 |
os.system("danna_sep --outdir out test.wav")
|
10 |
return "./out/test_vocals.wav", "./out/test_bass.wav",\
|
11 |
"./out/test_drums.wav", "./out/test_other.wav"
|
|
|
6 |
def inference(audio):
|
7 |
os.makedirs("out", exist_ok=True)
|
8 |
write('test.wav', audio[0], audio[1])
|
9 |
+
os.environ['DANNA_CHECKPOINTS'] = './checkpoints'
|
10 |
os.system("danna_sep --outdir out test.wav")
|
11 |
return "./out/test_vocals.wav", "./out/test_bass.wav",\
|
12 |
"./out/test_drums.wav", "./out/test_other.wav"
|
checkpoints/demucs_4_decoders.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7edad10c2930411c284a46aaaa9aee03e824a621f1253499ee302c1c16df06ba
|
3 |
+
size 767830535
|
checkpoints/unet_attention.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4db9ef230325b8426860866337ddad96629592fba921cf595f13e6f68c9b4572
|
3 |
+
size 63067598
|
checkpoints/xumx_mwf.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2eb283e5ca1310e22d5ab569f7d6577676be98ece344b0dc9da34811c28da714
|
3 |
+
size 142512688
|
requirements.txt
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
scipy
|
2 |
-
norbert
|
3 |
git+https://github.com/yoyololicon/danna-sep
|
|
|
1 |
scipy
|
|
|
2 |
git+https://github.com/yoyololicon/danna-sep
|