Nymbo commited on
Commit
e2c9fb8
·
1 Parent(s): c1a4579

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -33,6 +33,13 @@ 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
  input_text = gr.Textbox(
38
  label="Input Text (4000 characters max)",
@@ -44,17 +51,10 @@ with gr.Blocks() as block:
44
  all_voices = voices()
45
  input_voice = gr.Dropdown(
46
  [ voice.name for voice in all_voices ],
47
- value="Bella",
48
  label="Voice",
49
  elem_id="input_voice"
50
  )
51
-
52
- input_api_key = gr.Textbox(
53
- type='password',
54
- label='Elevenlabs API Key',
55
- placeholder='Enter your API key',
56
- elem_id="input_api_key"
57
- )
58
 
59
  run_button = gr.Button(
60
  text="Generate Voice",
 
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
  input_text = gr.Textbox(
45
  label="Input Text (4000 characters max)",
 
51
  all_voices = voices()
52
  input_voice = gr.Dropdown(
53
  [ voice.name for voice in all_voices ],
54
+ value="Rachel",
55
  label="Voice",
56
  elem_id="input_voice"
57
  )
 
 
 
 
 
 
 
58
 
59
  run_button = gr.Button(
60
  text="Generate Voice",