Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -113,23 +113,24 @@ if __name__ == "__main__":
|
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
115 |
gr.Markdown(value="""
|
116 |
-
【AI
|
117 |
作者:Xz乔希 https://space.bilibili.com/5859321\n
|
118 |
-
|
119 |
Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
|
120 |
【AI塔菲】语音合成:https://huggingface.co/spaces/XzJosh/Taffy-Bert-VITS2\n
|
|
|
121 |
【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
|
122 |
使用本模型请严格遵守法律法规!\n
|
123 |
发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
|
124 |
""")
|
125 |
text = gr.TextArea(label="Text", placeholder="Input Text Here",
|
126 |
-
value="
|
127 |
speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
|
128 |
sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.1, label='SDP/DP混合比')
|
129 |
noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.1, label='感情调节')
|
130 |
noise_scale_w = gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.1, label='音素长度')
|
131 |
length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.01, label='生成长度')
|
132 |
-
btn = gr.Button("
|
133 |
with gr.Column():
|
134 |
text_output = gr.Textbox(label="Message")
|
135 |
audio_output = gr.Audio(label="Output Audio")
|
|
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
115 |
gr.Markdown(value="""
|
116 |
+
【AI尼奈】在线语音合成(Bert-Vits2)\n
|
117 |
作者:Xz乔希 https://space.bilibili.com/5859321\n
|
118 |
+
声音归属:尼奈nine_Official https://space.bilibili.com/163653\n
|
119 |
Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
|
120 |
【AI塔菲】语音合成:https://huggingface.co/spaces/XzJosh/Taffy-Bert-VITS2\n
|
121 |
+
【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
|
122 |
【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
|
123 |
使用本模型请严格遵守法律法规!\n
|
124 |
发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
|
125 |
""")
|
126 |
text = gr.TextArea(label="Text", placeholder="Input Text Here",
|
127 |
+
value="啊,我是白兰公主尼奈,是一只米虫,快点把米交出来!")
|
128 |
speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
|
129 |
sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.1, label='SDP/DP混合比')
|
130 |
noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.1, label='感情调节')
|
131 |
noise_scale_w = gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.1, label='音素长度')
|
132 |
length_scale = gr.Slider(minimum=0.1, maximum=2, value=1, step=0.01, label='生成长度')
|
133 |
+
btn = gr.Button("点击生成", variant="primary")
|
134 |
with gr.Column():
|
135 |
text_output = gr.Textbox(label="Message")
|
136 |
audio_output = gr.Audio(label="Output Audio")
|