ysharma HF staff commited on
Commit
a7dd603
1 Parent(s): dcabdfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ def tts(text, model, voice):
27
 
28
  with gr.Blocks() as demo:
29
  gr.Markdown("# <center> OpenAI Text-To-Speech API with Gradio </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')
 
27
 
28
  with gr.Blocks() as demo:
29
  gr.Markdown("# <center> OpenAI Text-To-Speech API with Gradio </center>")
30
+ gr.HTML("You can also access the Streaming demo for OpenAI TTS by clicking this <a href='https://huggingface.co/spaces/ysharma/OpenAI_TTS_Streaming'>Gradio demo link</a>")
31
  with gr.Row():
32
  model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='Model', value='tts-1')
33
  voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')