Fabrice-TIERCELIN commited on
Commit
61b4d88
·
verified ·
1 Parent(s): ddc3af2
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -134,7 +134,8 @@ Leave a star on the Github <a href="https://github.com/coqui-ai/TTS">TTS</a>, wh
134
  info="One or two sentences at a time is better",
135
  value="Hello, World! Here is an example of light voice cloning. Try to upload your best audio samples quality",
136
  )
137
- language = gr.Dropdown(
 
138
  label="Language",
139
  info="Select an output language for the synthesised speech",
140
  choices=[
@@ -154,8 +155,8 @@ Leave a star on the Github <a href="https://github.com/coqui-ai/TTS">TTS</a>, wh
154
  ],
155
  max_choices=1,
156
  value="en",
157
- )
158
- language_info = gr.HTML("More languages <a href='https://huggingface.co/spaces/Brasd99/TTS-Voice-Cloner'>here</a>")
159
  gender = gr.Radio(["female", "male"], label="Gender", info="Gender of the voice")
160
  audio_file_pth = gr.Audio(
161
  label="Reference Audio",
 
134
  info="One or two sentences at a time is better",
135
  value="Hello, World! Here is an example of light voice cloning. Try to upload your best audio samples quality",
136
  )
137
+ with gr.Group():
138
+ language = gr.Dropdown(
139
  label="Language",
140
  info="Select an output language for the synthesised speech",
141
  choices=[
 
155
  ],
156
  max_choices=1,
157
  value="en",
158
+ )
159
+ gr.HTML("More languages <a href='https://huggingface.co/spaces/Brasd99/TTS-Voice-Cloner'>here</a>")
160
  gender = gr.Radio(["female", "male"], label="Gender", info="Gender of the voice")
161
  audio_file_pth = gr.Audio(
162
  label="Reference Audio",