Update app.py
Browse files
app.py
CHANGED
@@ -98,9 +98,14 @@ examples = [['お疲れ様です,トレーナーさん。', '1:无声铃鹿',
|
|
98 |
['お帰りなさい,お兄様!', '29:米浴','日本語'],
|
99 |
['私の処女をもらっでください!', '29:米浴','日本語']]
|
100 |
|
101 |
-
duration_slider = gr.Slider(minimum=0.1, maximum=5, value=1, step=0.1, label='时长 Duration')
|
102 |
-
noise_scale_slider = gr.Slider(minimum=0.1, maximum=5, value=0.667, step=0.001, label='噪声比例 noise_scale')
|
103 |
-
noise_scale_w_slider = gr.Slider(minimum=0.1, maximum=5, value=0.8, step=0.1, label='噪声偏差 noise_scale_w')
|
104 |
|
105 |
-
gr.Interface(fn=infer, inputs=[textbox,
|
|
|
|
|
|
|
|
|
|
|
106 |
title=title, description=description, article=article, examples=examples).launch()
|
|
|
98 |
['お帰りなさい,お兄様!', '29:米浴','日本語'],
|
99 |
['私の処女をもらっでください!', '29:米浴','日本語']]
|
100 |
|
101 |
+
# duration_slider = gr.Slider(minimum=0.1, maximum=5, value=1, step=0.1, label='时长 Duration')
|
102 |
+
# noise_scale_slider = gr.Slider(minimum=0.1, maximum=5, value=0.667, step=0.001, label='噪声比例 noise_scale')
|
103 |
+
# noise_scale_w_slider = gr.Slider(minimum=0.1, maximum=5, value=0.8, step=0.1, label='噪声偏差 noise_scale_w')
|
104 |
|
105 |
+
gr.Interface(fn=infer, inputs=[textbox,
|
106 |
+
char_dropdown,
|
107 |
+
language_dropdown,
|
108 |
+
gr.Slider(minimum=0.1, maximum=5, value=1, step=0.1, label='时长 Duration'),
|
109 |
+
gr.Slider(minimum=0.1, maximum=5, value=0.667, step=0.001, label='噪声比例 noise_scale'),
|
110 |
+
gr.Slider(minimum=0.1, maximum=5, value=0.8, step=0.1, label='噪声偏差 noise_scale_w')], outputs=["text","audio"],
|
111 |
title=title, description=description, article=article, examples=examples).launch()
|