Spaces:
Runtime error
Runtime error
Commit
·
5961eaf
1
Parent(s):
2b48c61
Update app.py
Browse files
app.py
CHANGED
@@ -70,11 +70,11 @@ with app:
|
|
70 |
voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')
|
71 |
with gr.Row():
|
72 |
with gr.Column():
|
73 |
-
inp_text = gr.Textbox(label="请填写您想生成的文本(中英文皆可)", placeholder="想说却还没说的 还很多 攒着是因为想写成歌")
|
74 |
btn_text = gr.Button("一键开启真实拟声吧", variant="primary")
|
75 |
|
76 |
with gr.Column():
|
77 |
-
inp1 = gr.Audio(type="filepath", label="
|
78 |
inp2 = gr.Audio(type="filepath", label="请上传AI变声的参照音频(决定变声后的语音音色)")
|
79 |
btn1 = gr.Button("一键开启AI变声吧", variant="primary")
|
80 |
with gr.Column():
|
|
|
70 |
voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')
|
71 |
with gr.Row():
|
72 |
with gr.Column():
|
73 |
+
inp_text = gr.Textbox(label="请填写您想生成的文本(中英文皆可)", placeholder="想说却还没说的 还很多 攒着是因为想写成歌", lines=5)
|
74 |
btn_text = gr.Button("一键开启真实拟声吧", variant="primary")
|
75 |
|
76 |
with gr.Column():
|
77 |
+
inp1 = gr.Audio(type="filepath", label="OpenAI TTS真实拟声", interactive=False)
|
78 |
inp2 = gr.Audio(type="filepath", label="请上传AI变声的参照音频(决定变声后的语音音色)")
|
79 |
btn1 = gr.Button("一键开启AI变声吧", variant="primary")
|
80 |
with gr.Column():
|