Spaces:
Runtime error
Runtime error
Commit ·
8344d66
1
Parent(s): aeb0a99
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ with app:
|
|
| 97 |
gr.Markdown("### <center>🌊 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
| 98 |
with gr.Tab("🤗 OpenAI TTS"):
|
| 99 |
with gr.Row(variant='panel'):
|
| 100 |
-
api_key = gr.Textbox(type='password', label='OpenAI API Key',
|
| 101 |
model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='请选择模型(tts-1推理更快,tts-1-hd音质更好)', value='tts-1')
|
| 102 |
voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='请选择一个说话人', value='alloy')
|
| 103 |
with gr.Row():
|
|
|
|
| 97 |
gr.Markdown("### <center>🌊 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
| 98 |
with gr.Tab("🤗 OpenAI TTS"):
|
| 99 |
with gr.Row(variant='panel'):
|
| 100 |
+
api_key = gr.Textbox(type='password', label='OpenAI API Key', placeholder='请在此填写您的OpenAI API Key')
|
| 101 |
model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='请选择模型(tts-1推理更快,tts-1-hd音质更好)', value='tts-1')
|
| 102 |
voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='请选择一个说话人', value='alloy')
|
| 103 |
with gr.Row():
|