Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -487,7 +487,13 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app:
|
|
487 |
text = gr.Textbox(label="需要合成的文本", value="")
|
488 |
text_language = gr.Dropdown(
|
489 |
label="需要合成的语种", choices=["中文", "英文", "日文"], value="中文"
|
490 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
inference_button = gr.Button("合成语音", variant="primary")
|
492 |
output = gr.Audio(label="输出的语音")
|
493 |
inference_button.click(
|
|
|
487 |
text = gr.Textbox(label="需要合成的文本", value="")
|
488 |
text_language = gr.Dropdown(
|
489 |
label="需要合成的语种", choices=["中文", "英文", "日文"], value="中文"
|
490 |
+
)
|
491 |
+
how_to_cut = gr.Radio(
|
492 |
+
label=("怎么切"),
|
493 |
+
choices=[("不切"),("凑五句一切"),("凑50字一切"),("按中文句号。切"),("按英文句号.切"),],
|
494 |
+
value=("凑50字一切"),
|
495 |
+
interactive=True,
|
496 |
+
)
|
497 |
inference_button = gr.Button("合成语音", variant="primary")
|
498 |
output = gr.Audio(label="输出的语音")
|
499 |
inference_button.click(
|