Nymbo commited on
Commit
e98beac
·
1 Parent(s): a79130c

Update app.py

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