Spaces:
Runtime error
Runtime error
fix: file path
Browse files
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/
|
10 |
-
"./out/
|
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 :)"
|