Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
4cef3f8
1
Parent(s):
490206a
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def inference(audio):
|
|
12 |
#os.system('./separate_scripts/separate_accompaniment.sh ' + audio.name + ' "sep_accompaniment.mp3"')
|
13 |
os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="accompaniment"')
|
14 |
os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="vocals"')
|
15 |
-
return 'sep_vocals.
|
16 |
title = "Music Source Separation"
|
17 |
description = "Gradio demo for Music Source Separation. To use it, simply add your audio, or click one of the examples to load them. Read more at the links below. Currently supports .wav files"
|
18 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.05418'>Decoupling Magnitude and Phase Estimation with Deep ResUNet for Music Source Separation</a> | <a href='https://github.com/bytedance/music_source_separation'>Github Repo</a></p>"
|
|
|
12 |
#os.system('./separate_scripts/separate_accompaniment.sh ' + audio.name + ' "sep_accompaniment.mp3"')
|
13 |
os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="accompaniment"')
|
14 |
os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="vocals"')
|
15 |
+
return 'sep_vocals.wav', 'sep_accompaniment.wav'
|
16 |
title = "Music Source Separation"
|
17 |
description = "Gradio demo for Music Source Separation. To use it, simply add your audio, or click one of the examples to load them. Read more at the links below. Currently supports .wav files"
|
18 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.05418'>Decoupling Magnitude and Phase Estimation with Deep ResUNet for Music Source Separation</a> | <a href='https://github.com/bytedance/music_source_separation'>Github Repo</a></p>"
|