XzJosh commited on
Commit
32b6508
1 Parent(s): fc0e573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -124,10 +124,10 @@ if __name__ == "__main__":
124
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
125
  value="关注永雏塔菲喵,关注永雏塔菲谢谢喵!")
126
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
127
- sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.1, label='语调调节')
128
  noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.6, step=0.1, label='感情调节')
129
- noise_scale_w = gr.Slider(minimum=0.1, maximum=1.4, value=0.8, step=0.1, label='音节发音长度调节')
130
- length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.1, label='语速')
131
  btn = gr.Button("生成喵!", variant="primary")
132
  with gr.Column():
133
  text_output = gr.Textbox(label="Message")
 
124
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
125
  value="关注永雏塔菲喵,关注永雏塔菲谢谢喵!")
126
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
127
+ sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.1, label='SDP/DP混合比')
128
  noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.6, step=0.1, label='感情调节')
129
+ noise_scale_w = gr.Slider(minimum=0.1, maximum=1.4, value=0.8, step=0.1, label='音素长度')
130
+ length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.1, label='生成长度')
131
  btn = gr.Button("生成喵!", variant="primary")
132
  with gr.Column():
133
  text_output = gr.Textbox(label="Message")