Spaces:
Build error
Build error
...
Browse files
app.py
CHANGED
@@ -84,10 +84,12 @@ with app:
|
|
84 |
with gr.Row():
|
85 |
tts_input1 = gr.TextArea(
|
86 |
label="请输入文本(仅支持日语)", value="こんにちは,世界!")
|
|
|
87 |
tts_input2 = gr.TextArea(
|
88 |
label="请输入角色id(参考文档或者页面下方表格)")
|
89 |
-
|
90 |
tts_submit = gr.Button("用文本合成", variant="primary")
|
|
|
91 |
tts_output2 = gr.Audio(label="Output")
|
92 |
# model_submit.click(load_model, [config_path, pth_path])
|
93 |
tts_submit.click(infer, [tts_input2, tts_input1], [tts_output2])
|
|
|
84 |
with gr.Row():
|
85 |
tts_input1 = gr.TextArea(
|
86 |
label="请输入文本(仅支持日语)", value="こんにちは,世界!")
|
87 |
+
with gr.Row():
|
88 |
tts_input2 = gr.TextArea(
|
89 |
label="请输入角色id(参考文档或者页面下方表格)")
|
90 |
+
with gr.Row():
|
91 |
tts_submit = gr.Button("用文本合成", variant="primary")
|
92 |
+
with gr.Row():
|
93 |
tts_output2 = gr.Audio(label="Output")
|
94 |
# model_submit.click(load_model, [config_path, pth_path])
|
95 |
tts_submit.click(infer, [tts_input2, tts_input1], [tts_output2])
|