Spaces:
Sleeping
Sleeping
Update app.py
#1
by
Edmon02
- opened
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(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')
|