Sangmin commited on
Commit
5bb29bc
1 Parent(s): 3d8b154

Change model names to increase the rate limits

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def tts(text, model, voice):
28
  with gr.Blocks() as demo:
29
  gr.Markdown("# <center> OpenAI Text-To-Speech API </center>")
30
  with gr.Row():
31
- model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='Model', value='tts-1')
32
  voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')
33
 
34
  text = gr.Textbox(label="Input text", placeholder="Input text and press the Text-To-Speech button or press Enter.")
 
28
  with gr.Blocks() as demo:
29
  gr.Markdown("# <center> OpenAI Text-To-Speech API </center>")
30
  with gr.Row():
31
+ model = gr.Dropdown(choices=['tts-1-1106','tts-1-hd-1106'], label='Model', value='tts-1')
32
  voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')
33
 
34
  text = gr.Textbox(label="Input text", placeholder="Input text and press the Text-To-Speech button or press Enter.")