Update app.py
Browse files
app.py
CHANGED
|
@@ -11,14 +11,14 @@ def inference(audio):
|
|
| 11 |
"./out/mdx_extra_q/test/drums.wav","./out/mdx_extra_q/test/other.wav"
|
| 12 |
|
| 13 |
title = "Demucs"
|
| 14 |
-
description = "
|
| 15 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1911.13254' target='_blank'>Music Source Separation in the Waveform Domain</a> | <a href='https://github.com/facebookresearch/demucs' target='_blank'>Github Repo</a></p>"
|
| 16 |
|
| 17 |
examples=[['test.mp3']]
|
| 18 |
gr.Interface(
|
| 19 |
inference,
|
| 20 |
-
gr.inputs.Audio(type="numpy", label="
|
| 21 |
-
[gr.outputs.Audio(type="filepath", label="
|
| 22 |
title=title,
|
| 23 |
description=description,
|
| 24 |
article=article,
|
|
|
|
| 11 |
"./out/mdx_extra_q/test/drums.wav","./out/mdx_extra_q/test/other.wav"
|
| 12 |
|
| 13 |
title = "Demucs"
|
| 14 |
+
description = "基于波形域的音乐源分离模型,使用它非常简单,只需上传您的音频文件,或者点击其中一个示例以加载它们。"
|
| 15 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1911.13254' target='_blank'>Music Source Separation in the Waveform Domain</a> | <a href='https://github.com/facebookresearch/demucs' target='_blank'>Github Repo</a></p>"
|
| 16 |
|
| 17 |
examples=[['test.mp3']]
|
| 18 |
gr.Interface(
|
| 19 |
inference,
|
| 20 |
+
gr.inputs.Audio(type="numpy", label="上传"),
|
| 21 |
+
[gr.outputs.Audio(type="filepath", label="人声"),gr.outputs.Audio(type="filepath", label="低音部分"),gr.outputs.Audio(type="filepath", label="打击乐器"),gr.outputs.Audio(type="filepath", label="Other")],
|
| 22 |
title=title,
|
| 23 |
description=description,
|
| 24 |
article=article,
|