Spaces:
Sleeping
Sleeping
Mahiruoshi
commited on
Commit
•
cfab7f0
1
Parent(s):
7867690
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ class VitsGradio:
|
|
65 |
self.input2 = gr.Dropdown(label="Language", choices=self.lan, value="自动", interactive=True)
|
66 |
with gr.Column():
|
67 |
btnVC = gr.Button("完成vits TTS端设定")
|
68 |
-
self.input3 = gr.Dropdown(label="Speaker", choices=list(range(100)), value=
|
69 |
-
self.input4 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声比例(noise scale),以控制情感", value=0.
|
70 |
-
self.input5 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声偏差(noise scale w),以控制音素长短", value=0.
|
71 |
self.input6 = gr.Slider(minimum=0.1, maximum=10, label="duration", value=1)
|
72 |
statusa = gr.TextArea()
|
73 |
btnVC.click(self.create_tts_fn, inputs=[self.input1, self.input2, self.input3, self.input4, self.input5, self.input6], outputs = [statusa])
|
|
|
65 |
self.input2 = gr.Dropdown(label="Language", choices=self.lan, value="自动", interactive=True)
|
66 |
with gr.Column():
|
67 |
btnVC = gr.Button("完成vits TTS端设定")
|
68 |
+
self.input3 = gr.Dropdown(label="Speaker", choices=list(range(100)), value=21, interactive=True)
|
69 |
+
self.input4 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声比例(noise scale),以控制情感", value=0.6)
|
70 |
+
self.input5 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声偏差(noise scale w),以控制音素长短", value=0.668)
|
71 |
self.input6 = gr.Slider(minimum=0.1, maximum=10, label="duration", value=1)
|
72 |
statusa = gr.TextArea()
|
73 |
btnVC.click(self.create_tts_fn, inputs=[self.input1, self.input2, self.input3, self.input4, self.input5, self.input6], outputs = [statusa])
|