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

fix: file path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ 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
 
12
  title = "Demucs"
13
  description = "Gradio demo for Demucs: Music Source Separation in the Waveform Domain. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below. This space will be switched to GPU only when I need it :)"
 
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/test/vocals.wav","./out/mdx_extra/test/bass.wav",\
10
+ "./out/mdx_extra/test/drums.wav","./out/mdx_extra/test/other.wav"
11
 
12
  title = "Demucs"
13
  description = "Gradio demo for Demucs: Music Source Separation in the Waveform Domain. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below. This space will be switched to GPU only when I need it :)"