Nymbo commited on
Commit
90e48a9
·
1 Parent(s): 91e78d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -17
app.py CHANGED
@@ -33,24 +33,21 @@ with gr.Blocks() as block:
33
  #gr.Markdown('[ ![ElevenLabs](https://user-images.githubusercontent.com/12028621/262629275-4f85c9cf-85b6-435e-ab50-5b8c7c4e9dd2.png) ](https://elevenlabs.io)')
34
  gr.Markdown("# <center> ElevenLabs TTS </center>")
35
  gr.Markdown(description)
36
-
37
- with gr.Row(variant='panel'):
38
- pass
39
-
40
- input_api_key = gr.Textbox(
41
- type='password',
42
- label='Elevenlabs API Key',
43
- placeholder='Enter your API key',
44
- elem_id="input_api_key"
45
- )
46
 
47
- all_voices = voices()
48
- input_voice = gr.Dropdown(
49
- [ voice.name for voice in all_voices ],
50
- value="Rachel",
51
- label="Voice",
52
- elem_id="input_voice"
53
- )
 
 
 
 
 
 
 
54
 
55
  input_text = gr.Textbox(
56
  label="Input Text (4000 characters max)",
 
33
  #gr.Markdown('[ ![ElevenLabs](https://user-images.githubusercontent.com/12028621/262629275-4f85c9cf-85b6-435e-ab50-5b8c7c4e9dd2.png) ](https://elevenlabs.io)')
34
  gr.Markdown("# <center> ElevenLabs TTS </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)",