Ailyth commited on
Commit
8d3dded
1 Parent(s): 29da029

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ if __name__ == "__main__":
132
  sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比',info='可控制一定程度的语调变化')
133
  noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.5, step=0.01, label='感情变化')
134
  noise_scale_w = gr.Slider(minimum=0.1, maximum=1.4, value=0.9, step=0.01, label='音节长度')
135
- length_scale = gr.Slider(minimum=0.1, maximum=2, value=0.9, step=0.01, label='生成语音总长度',info='数值越大,语速越慢')
136
  btn = gr.Button("✨生成", variant="primary")
137
  with gr.Column():
138
  audio_output = gr.Audio(label="试听")
 
132
  sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比',info='可控制一定程度的语调变化')
133
  noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.5, step=0.01, label='感情变化')
134
  noise_scale_w = gr.Slider(minimum=0.1, maximum=1.4, value=0.9, step=0.01, label='音节长度')
135
+ length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.01, label='生成语音总长度',info='数值越大,语速越慢')
136
  btn = gr.Button("✨生成", variant="primary")
137
  with gr.Column():
138
  audio_output = gr.Audio(label="试听")