Spaces:
Runtime error
Runtime error
Commit ·
636f61d
1
Parent(s): b4d3017
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ with app:
|
|
| 52 |
with gr.Column():
|
| 53 |
inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
|
| 54 |
btn = gr.Button("一键生成")
|
| 55 |
-
out = gr.Audio(label="为您生成的专属音频")
|
| 56 |
|
| 57 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
| 58 |
|
|
|
|
| 52 |
with gr.Column():
|
| 53 |
inp = gr.Textbox(lines=5, label="请填写您想要转换的中文文本")
|
| 54 |
btn = gr.Button("一键生成")
|
| 55 |
+
out = gr.Audio(label="为您生成的专属音频", type="filepath")
|
| 56 |
|
| 57 |
btn.click(fn=infer, inputs=[inp], outputs=[out])
|
| 58 |
|