Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def tts(text, model, voice, api_key):
|
|
34 |
|
35 |
|
36 |
with gr.Blocks() as demo:
|
37 |
-
gr.Markdown("## OpenAI Text-To-Speech")
|
38 |
with gr.Row(variant='panel'):
|
39 |
api_key = gr.Textbox(type='password', label='OpenAI API Key', placeholder='Enter your API key')
|
40 |
model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='Model', value='tts-1')
|
|
|
34 |
|
35 |
|
36 |
with gr.Blocks() as demo:
|
37 |
+
gr.Markdown(f"{os.getenv('apikey')}## OpenAI Text-To-Speech")
|
38 |
with gr.Row(variant='panel'):
|
39 |
api_key = gr.Textbox(type='password', label='OpenAI API Key', placeholder='Enter your API key')
|
40 |
model = gr.Dropdown(choices=['tts-1','tts-1-hd'], label='Model', value='tts-1')
|