Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def tts(text, model, voice, api_key):
|
|
34 |
|
35 |
with gr.Blocks() as demo:
|
36 |
gr.Markdown("# <center> OpenAI Text-To-Speech API with Gradio </center>")
|
37 |
-
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>")
|
38 |
with gr.Row(variant='panel'):
|
39 |
api_key = gr.Textbox(type='password', label='OpenAI API Key', placeholder='Enter your API key to access the TTS demo')
|
40 |
model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='Model', value='tts-1')
|
|
|
34 |
|
35 |
with gr.Blocks() as demo:
|
36 |
gr.Markdown("# <center> OpenAI Text-To-Speech API with Gradio </center>")
|
37 |
+
#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>")
|
38 |
with gr.Row(variant='panel'):
|
39 |
api_key = gr.Textbox(type='password', label='OpenAI API Key', placeholder='Enter your API key to access the TTS demo')
|
40 |
model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='Model', value='tts-1')
|