sparanoid commited on
Commit
39d286a
1 Parent(s): 1bc3976

feat: update args

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