14-26AA commited on
Commit
71ae0aa
1 Parent(s): bf59450

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,9 +11,9 @@ with app:
11
  with gr.TabItem("Basic"):
12
  gr.Markdown(value="""
13
  """)
14
- sid = gr.Dropdown(label="音色",choices=np.arange(175), value=0)
15
  vc_audio = gr.Audio(label="上传音频,建议小于2分钟")
16
- vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)",value='speaker0')
17
  vc_submit = gr.Button("转换", variant="primary")
18
  vc_output1 = gr.Textbox(label="Output Message")
19
  vc_output2 = gr.Audio(label="Output Audio")
 
11
  with gr.TabItem("Basic"):
12
  gr.Markdown(value="""
13
  """)
14
+ sid = gr.Dropdown(label="音色",choices=spkdict, value='speaker0')
15
  vc_audio = gr.Audio(label="上传音频,建议小于2分钟")
16
+ vc_transform = gr.Number(label="变调(整数,可以正负,半音数量,升高八度就是12)",value=0)
17
  vc_submit = gr.Button("转换", variant="primary")
18
  vc_output1 = gr.Textbox(label="Output Message")
19
  vc_output2 = gr.Audio(label="Output Audio")