wall-e-zz commited on
Commit
dc1a3aa
·
1 Parent(s): 077bae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 = "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."
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="Input"),
21
- [gr.outputs.Audio(type="filepath", label="Vocals"),gr.outputs.Audio(type="filepath", label="Bass"),gr.outputs.Audio(type="filepath", label="Drums"),gr.outputs.Audio(type="filepath", label="Other")],
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,