Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -120,12 +120,12 @@ if __name__ == "__main__":
|
|
120 |
with gr.Column():
|
121 |
|
122 |
gr.Markdown("测试用")
|
123 |
-
text = gr.TextArea(label="Text", placeholder="
|
124 |
value="在不在?能不能借给我三百块钱买可乐",
|
125 |
info="使用huggingface的免费CPU进行推理,因此速度不快,一次性不要输入超过500汉字",
|
126 |
)
|
127 |
model = gr.Radio(choices=list(models.keys()), value=list(models.keys())[0], label='音声模型')
|
128 |
-
with gr.Accordion(label="
|
129 |
sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比',info='可控制一定程度的语调变化')
|
130 |
noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.5, step=0.01, label='感情变化')
|
131 |
noise_scale_w = gr.Slider(minimum=0.1, maximum=1.4, value=0.9, step=0.01, label='音节长度')
|
|
|
120 |
with gr.Column():
|
121 |
|
122 |
gr.Markdown("测试用")
|
123 |
+
text = gr.TextArea(label="Text", placeholder="输入文字",
|
124 |
value="在不在?能不能借给我三百块钱买可乐",
|
125 |
info="使用huggingface的免费CPU进行推理,因此速度不快,一次性不要输入超过500汉字",
|
126 |
)
|
127 |
model = gr.Radio(choices=list(models.keys()), value=list(models.keys())[0], label='音声模型')
|
128 |
+
with gr.Accordion(label="展开设置生成参数", open=False):
|
129 |
sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比',info='可控制一定程度的语调变化')
|
130 |
noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.5, step=0.01, label='感情变化')
|
131 |
noise_scale_w = gr.Slider(minimum=0.1, maximum=1.4, value=0.9, step=0.01, label='音节长度')
|