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