Spaces:
Runtime error
Runtime error
feat: update args
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from scipy.io.wavfile import write
|
|
5 |
def inference(audio):
|
6 |
os.makedirs("out", exist_ok=True)
|
7 |
write('test.wav', audio[0], audio[1])
|
8 |
-
os.system("python3 -m demucs.separate -n
|
9 |
return "./out/mdx_extra_q/test/vocals.wav","./out/mdx_extra_q/test/bass.wav",\
|
10 |
"./out/mdx_extra_q/test/drums.wav","./out/mdx_extra_q/test/other.wav"
|
11 |
|
|
|
5 |
def inference(audio):
|
6 |
os.makedirs("out", exist_ok=True)
|
7 |
write('test.wav', audio[0], audio[1])
|
8 |
+
os.system("python3 -m demucs.separate -n mdx_extra test.wav -o out")
|
9 |
return "./out/mdx_extra_q/test/vocals.wav","./out/mdx_extra_q/test/bass.wav",\
|
10 |
"./out/mdx_extra_q/test/drums.wav","./out/mdx_extra_q/test/other.wav"
|
11 |
|