Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -124,9 +124,9 @@ 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.1, maximum=1, value=0.2, step=0.
|
128 |
-
noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.
|
129 |
-
noise_scale_w = gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.
|
130 |
length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.01, label='生成长度')
|
131 |
btn = gr.Button("点击生成", variant="primary")
|
132 |
with gr.Column():
|
|
|
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.1, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比')
|
128 |
+
noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.01, label='感情调节')
|
129 |
+
noise_scale_w = gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.01, label='音素长度')
|
130 |
length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.01, label='生成长度')
|
131 |
btn = gr.Button("点击生成", variant="primary")
|
132 |
with gr.Column():
|