Edmon02 commited on
Commit
83e6ed5
1 Parent(s): 3ea2f39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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')