Mahiruoshi commited on
Commit
dd983e0
1 Parent(s): 29de89b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -263,16 +263,16 @@ if __name__ == '__main__':
263
  with gr.Column():
264
  with gr.Accordion(label="Setting", open=False):
265
  input2 = gr.Dropdown(label="Language", choices=lan, value="自动", interactive=True)
266
- input3 = gr.Checkbox(value=True, label="长句切割(小说合成)")
267
  input4 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声比例(noise scale),以控制情感", value=0.267)
268
  input5 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声偏差(noise scale w),以控制音素长短", value=0.7)
269
  input6 = gr.Slider(minimum=0.1, maximum=10, label="duration", value=1)
270
  with gr.Accordion(label="Advanced Setting", open=False):
271
  audio_input3 = gr.Dropdown(label="重复次数", choices=list(range(101)), value='0', interactive=True)
272
- api_input1 = gr.Checkbox(value=True, label="接入chatgpt")
273
  api_input2 = gr.TextArea(label="api-key",lines=1,value = '去官网找')
274
  output2 = gr.outputs.File(label="字幕文件:subtitles.srt")
275
- audio_input1 = gr.Checkbox(value=True, label="修改音频路径(live2d)")
276
  audio_input2 = gr.TextArea(label="音频路径",lines=1,value = '示范:D:/app_develop/live2d_whole/2010002/sounds/temp.wav')
277
 
278
  with gr.Row():
 
263
  with gr.Column():
264
  with gr.Accordion(label="Setting", open=False):
265
  input2 = gr.Dropdown(label="Language", choices=lan, value="自动", interactive=True)
266
+ input3 = gr.Checkbox(value=False, label="长句切割(小说合成)")
267
  input4 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声比例(noise scale),以控制情感", value=0.267)
268
  input5 = gr.Slider(minimum=0, maximum=1.0, label="更改噪声偏差(noise scale w),以控制音素长短", value=0.7)
269
  input6 = gr.Slider(minimum=0.1, maximum=10, label="duration", value=1)
270
  with gr.Accordion(label="Advanced Setting", open=False):
271
  audio_input3 = gr.Dropdown(label="重复次数", choices=list(range(101)), value='0', interactive=True)
272
+ api_input1 = gr.Checkbox(value=False, label="接入chatgpt")
273
  api_input2 = gr.TextArea(label="api-key",lines=1,value = '去官网找')
274
  output2 = gr.outputs.File(label="字幕文件:subtitles.srt")
275
+ audio_input1 = gr.Checkbox(value=False, label="修改音频路径(live2d)")
276
  audio_input2 = gr.TextArea(label="音频路径",lines=1,value = '示范:D:/app_develop/live2d_whole/2010002/sounds/temp.wav')
277
 
278
  with gr.Row():