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