m4jbz commited on
Commit
2f74d5b
1 Parent(s): 82f6e57

only spanish config

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -29,7 +29,7 @@ import soundfile as sf
29
 
30
  from model import get_pretrained_model, language_to_models
31
 
32
- title = "# Texto a Voz"
33
 
34
  description = """
35
  Este espacio muestra el comó convertir texto a voz con tecnologías como Piper, Kaldi, y Next-gen.
@@ -130,11 +130,14 @@ with demo:
130
  language_choices = list(language_to_models.keys())
131
 
132
  language_radio = gr.Radio(
 
 
133
  value=language_choices[0],
134
  )
135
 
136
  model_dropdown = gr.Dropdown(
137
  choices=language_to_models[language_choices[0]],
 
138
  value=language_to_models[language_choices[0]][0],
139
  )
140
 
 
29
 
30
  from model import get_pretrained_model, language_to_models
31
 
32
+ title = "# Texto a Voz ()"
33
 
34
  description = """
35
  Este espacio muestra el comó convertir texto a voz con tecnologías como Piper, Kaldi, y Next-gen.
 
130
  language_choices = list(language_to_models.keys())
131
 
132
  language_radio = gr.Radio(
133
+ label="Language",
134
+ choices=language_choices,
135
  value=language_choices[0],
136
  )
137
 
138
  model_dropdown = gr.Dropdown(
139
  choices=language_to_models[language_choices[0]],
140
+ label="Select a model",
141
  value=language_to_models[language_choices[0]][0],
142
  )
143