Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -121,12 +121,12 @@ if __name__ == "__main__":
|
|
121 |
发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
|
122 |
""")
|
123 |
text = gr.TextArea(label="Text", placeholder="Input Text Here",
|
124 |
-
value="
|
125 |
speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
|
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.
|
130 |
btn = gr.Button("点击生成", variant="primary")
|
131 |
with gr.Column():
|
132 |
text_output = gr.Textbox(label="Message")
|
|
|
121 |
发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
|
122 |
""")
|
123 |
text = gr.TextArea(label="Text", placeholder="Input Text Here",
|
124 |
+
value="大家好呀,我是阿梓。")
|
125 |
speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
|
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")
|