Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ MODEL = None
|
|
22 |
def split_process(audio, chosen_out_track):
|
23 |
os.makedirs("out", exist_ok=True)
|
24 |
write('test.wav', audio[0], audio[1])
|
25 |
-
os.system("python3 -m demucs.separate -n
|
26 |
#return "./out/mdx_extra_q/test/vocals.wav","./out/mdx_extra_q/test/bass.wav","./out/mdx_extra_q/test/drums.wav","./out/mdx_extra_q/test/other.wav"
|
27 |
if chosen_out_track == "vocals":
|
28 |
return "./out/mdx_extra_q/test/vocals.wav"
|
|
|
22 |
def split_process(audio, chosen_out_track):
|
23 |
os.makedirs("out", exist_ok=True)
|
24 |
write('test.wav', audio[0], audio[1])
|
25 |
+
os.system("python3 -m demucs.separate -n mdx_extra_q -j 4 test.wav -o out")
|
26 |
#return "./out/mdx_extra_q/test/vocals.wav","./out/mdx_extra_q/test/bass.wav","./out/mdx_extra_q/test/drums.wav","./out/mdx_extra_q/test/other.wav"
|
27 |
if chosen_out_track == "vocals":
|
28 |
return "./out/mdx_extra_q/test/vocals.wav"
|