Mahiruoshi
commited on
Commit
·
13ab15c
1
Parent(s):
1fb8364
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,9 @@ class VitsGradio:
|
|
30 |
self.modelPaths.append(dir)
|
31 |
with gr.Blocks() as self.Vits:
|
32 |
gr.Markdown(
|
33 |
-
"## <center> Lovelive
|
34 |
"### <center> 请不要生成会对个人以及企划造成侵害的内容\n"
|
35 |
-
"<div align='center'
|
36 |
with gr.Tab("TTS合成"):
|
37 |
with gr.Row():
|
38 |
with gr.Column():
|
@@ -73,8 +73,8 @@ class VitsGradio:
|
|
73 |
input3 = gr.Dropdown(label="Speaker", choices=self.idols, value="歩夢", interactive=True)
|
74 |
btnVC = gr.Button("Submit")
|
75 |
with gr.Column():
|
76 |
-
input4 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声比例(noise scale),以控制情感", value=0.
|
77 |
-
input5 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声偏差(noise scale w),以控制音素长短", value=0.
|
78 |
input6 = gr.Slider(minimum=0.1, maximum=10, label="Duration", value=1)
|
79 |
output1 = gr.Audio(label="采样率22050")
|
80 |
subtitle = gr.outputs.File(label="字幕文件:subtitles.srt")
|
|
|
30 |
self.modelPaths.append(dir)
|
31 |
with gr.Blocks() as self.Vits:
|
32 |
gr.Markdown(
|
33 |
+
"## <center> Lovelive虹团-少女歌剧VITS\n"
|
34 |
"### <center> 请不要生成会对个人以及企划造成侵害的内容\n"
|
35 |
+
"<div align='center'>由于神秘bug,无法切换模型,轻量化版本 https://huggingface.co/spaces/Mahiruoshi/lovelive-ShojoKageki-vits </div>")
|
36 |
with gr.Tab("TTS合成"):
|
37 |
with gr.Row():
|
38 |
with gr.Column():
|
|
|
73 |
input3 = gr.Dropdown(label="Speaker", choices=self.idols, value="歩夢", interactive=True)
|
74 |
btnVC = gr.Button("Submit")
|
75 |
with gr.Column():
|
76 |
+
input4 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声比例(noise scale),以控制情感", value=0.6)
|
77 |
+
input5 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声偏差(noise scale w),以控制音素长短", value=0.668)
|
78 |
input6 = gr.Slider(minimum=0.1, maximum=10, label="Duration", value=1)
|
79 |
output1 = gr.Audio(label="采样率22050")
|
80 |
subtitle = gr.outputs.File(label="字幕文件:subtitles.srt")
|