Spaces:
Runtime error
Runtime error
Commit
·
7f29d20
1
Parent(s):
9243345
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,8 +95,8 @@ with app:
|
|
| 95 |
with gr.Column():
|
| 96 |
inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
|
| 97 |
with gr.Row():
|
| 98 |
-
btn = gr.Button("使用AI娜娜的声音")
|
| 99 |
-
btn1 = gr.Button("使用AI小杰的声音")
|
| 100 |
out = gr.Audio(label="为您生成的专属音频", type="filepath")
|
| 101 |
|
| 102 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
|
|
|
| 95 |
with gr.Column():
|
| 96 |
inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
|
| 97 |
with gr.Row():
|
| 98 |
+
btn = gr.Button("使用AI娜娜的声音", variant="primary")
|
| 99 |
+
btn1 = gr.Button("使用AI小杰的声音", variant="primary")
|
| 100 |
out = gr.Audio(label="为您生成的专属音频", type="filepath")
|
| 101 |
|
| 102 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|