Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
437 |
)
|
438 |
noise_scale = gr.Slider(
|
439 |
-
minimum=0.1, maximum=2, value=0.
|
440 |
)
|
441 |
noise_scale_w = gr.Slider(
|
442 |
-
minimum=0.1, maximum=2, value=0.
|
443 |
)
|
444 |
length_scale = gr.Slider(
|
445 |
-
minimum=0.1, maximum=2, value=1.0, step=0.
|
446 |
)
|
447 |
language = gr.Dropdown(
|
448 |
choices=languages, value=languages[0], label="Language"
|
449 |
)
|
450 |
-
btn = gr.Button("
|
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():
|