XzJosh commited on
Commit
f2850f7
1 Parent(s): 2d91db9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ if __name__ == "__main__":
126
  sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比')
127
  noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.01, label='感情调节')
128
  noise_scale_w = gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.01, label='音素长度')
129
- length_scale = gr.Slider(minimum=0.1, maximum=2, value=1.05, step=0.01, label='生成长度')
130
  btn = gr.Button("点击生成", variant="primary")
131
  with gr.Column():
132
  text_output = gr.Textbox(label="Message")
 
126
  sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比')
127
  noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.01, label='感情调节')
128
  noise_scale_w = gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.01, label='音素长度')
129
+ length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.01, label='生成长度')
130
  btn = gr.Button("点击生成", variant="primary")
131
  with gr.Column():
132
  text_output = gr.Textbox(label="Message")