fffiloni commited on
Commit
1e10592
1 Parent(s): 90c6c01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 mdx_extra -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"
 
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"