Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -93,5 +93,7 @@ duration_slider = gr.Slider(minimum=0.1, maximum=5, value=1, step=0.1, label='
|
|
93 |
noise_scale_slider = gr.Slider(minimum=0.1, maximum=5, value=0.667, step=0.001, label='噪声比例 noise_scale')
|
94 |
noise_scale_w_slider = gr.Slider(minimum=0.1, maximum=5, value=0.8, step=0.1, label='噪声偏差 noise_scale_w')
|
95 |
|
|
|
96 |
|
97 |
-
|
|
|
|
93 |
noise_scale_slider = gr.Slider(minimum=0.1, maximum=5, value=0.667, step=0.001, label='噪声比例 noise_scale')
|
94 |
noise_scale_w_slider = gr.Slider(minimum=0.1, maximum=5, value=0.8, step=0.1, label='噪声偏差 noise_scale_w')
|
95 |
|
96 |
+
app = gr.Interface(fn=infer, inputs=[textbox, char_dropdown, language_dropdown, duration_slider, noise_scale_slider, noise_scale_w_slider,], outputs=["text","audio"],title=title, description=description, article=article, examples=examples)
|
97 |
|
98 |
+
if __name__=="__main__":
|
99 |
+
app.launch()
|