Plachta commited on
Commit
7e5fac2
1 Parent(s): 5995712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -102,10 +102,5 @@ examples = [['お疲れ様です,トレーナーさん。', '1:无声铃鹿',
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.Number(value=1, label='时长 Duration'),
109
- gr.Number(value=0.667, label='噪声比例 noise_scale'),
110
- gr.Number(value=0.8, label='噪声偏差 noise_scale_w'),], outputs=["text","audio"],
111
  title=title, description=description, article=article, examples=examples).launch()
 
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, char_dropdown, language_dropdown, gr.Number(value=1, label='时长 Duration'), gr.Number(value=0.667, label='噪声比例 noise_scale'), gr.Number(value=0.8, label='噪声偏差 noise_scale_w'),], outputs=["text","audio"],
 
 
 
 
 
106
  title=title, description=description, article=article, examples=examples).launch()