Nymbo commited on
Commit
2674364
·
1 Parent(s): f71c5cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -34,22 +34,22 @@ with gr.Blocks() as block:
34
  gr.Markdown("# <center> ElevenLabs </center>")
35
  gr.Markdown(description)
36
 
 
37
 
38
- with gr.Row(variant='panel'):
39
- input_api_key = gr.Textbox(
40
- type='password',
41
- label='Elevenlabs API Key',
42
- placeholder='Enter your API key',
43
- elem_id="input_api_key"
44
- )
45
 
46
- all_voices = voices()
47
- input_voice = gr.Dropdown(
48
- [ voice.name for voice in all_voices ],
49
- value="Rachel",
50
- label="Voice",
51
- elem_id="input_voice"
52
- )
53
 
54
  input_text = gr.Textbox(
55
  label="Input Text (4000 characters max)",
 
34
  gr.Markdown("# <center> ElevenLabs </center>")
35
  gr.Markdown(description)
36
 
37
+ with gr.Row(variant='panel'):
38
 
39
+ input_api_key = gr.Textbox(
40
+ type='password',
41
+ label='Elevenlabs API Key',
42
+ placeholder='Enter your API key',
43
+ elem_id="input_api_key"
44
+ )
 
45
 
46
+ all_voices = voices()
47
+ input_voice = gr.Dropdown(
48
+ [ voice.name for voice in all_voices ],
49
+ value="Rachel",
50
+ label="Voice",
51
+ elem_id="input_voice"
52
+ )
53
 
54
  input_text = gr.Textbox(
55
  label="Input Text (4000 characters max)",