XzJosh commited on
Commit
6eeab7d
1 Parent(s): 38a9b9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -433,21 +433,21 @@ if __name__ == "__main__":
433
  label="Audio prompt", type="filepath", visible=False
434
  )
435
  sdp_ratio = gr.Slider(
436
- minimum=0, maximum=1, value=0.2, step=0.1, label="SDP Ratio"
437
  )
438
  noise_scale = gr.Slider(
439
- minimum=0.1, maximum=2, value=0.6, step=0.1, label="Noise"
440
  )
441
  noise_scale_w = gr.Slider(
442
- minimum=0.1, maximum=2, value=0.8, step=0.1, label="Noise_W"
443
  )
444
  length_scale = gr.Slider(
445
- minimum=0.1, maximum=2, value=1.0, step=0.1, label="Length"
446
  )
447
  language = gr.Dropdown(
448
  choices=languages, value=languages[0], label="Language"
449
  )
450
- btn = gr.Button("生成音频!", variant="primary")
451
  with gr.Column():
452
  with gr.Row():
453
  with gr.Column():
 
433
  label="Audio prompt", type="filepath", visible=False
434
  )
435
  sdp_ratio = gr.Slider(
436
+ minimum=0, maximum=1, value=0.2, step=0.01, label="SDP Ratio"
437
  )
438
  noise_scale = gr.Slider(
439
+ minimum=0.1, maximum=2, value=0.5, step=0.01, label="Noise"
440
  )
441
  noise_scale_w = gr.Slider(
442
+ minimum=0.1, maximum=2, value=0.9, step=0.01, label="Noise_W"
443
  )
444
  length_scale = gr.Slider(
445
+ minimum=0.1, maximum=2, value=1.0, step=0.01, label="Length"
446
  )
447
  language = gr.Dropdown(
448
  choices=languages, value=languages[0], label="Language"
449
  )
450
+ btn = gr.Button("点击生成", variant="primary")
451
  with gr.Column():
452
  with gr.Row():
453
  with gr.Column():