Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
034c9d0
1
Parent(s):
c2740e5
Update app.py
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_q -d cpu 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."
|
|
|
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 |
|
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."
|