Ahsen Khaliq commited on
Commit
0145fc7
1 Parent(s): 51c65e0

Update app.py

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 demucs48_hq -d cpu test.wav -o out")
9
  return "./out/demucs48_hq/test/vocals.wav","./out/demucs48_hq/test/bass.wav",\
10
  "./out/demucs48_hq/test/drums.wav","./out/demucs48_hq/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_q -d cpu test.wav -o out")
9
  return "./out/demucs48_hq/test/vocals.wav","./out/demucs48_hq/test/bass.wav",\
10
  "./out/demucs48_hq/test/drums.wav","./out/demucs48_hq/test/other.wav"
11