m4jbz commited on
Commit
3140828
1 Parent(s): 3bba913

translated english to spanish

Browse files
Files changed (1) hide show
  1. app.py +12 -21
app.py CHANGED
@@ -32,25 +32,16 @@ from model import get_pretrained_model, language_to_models
32
  title = "# Next-gen Kaldi: Text-to-speech (TTS)"
33
 
34
  description = """
35
- This space shows how to convert text to speech with Next-gen Kaldi.
36
 
37
- It is running on CPU within a docker container provided by Hugging Face.
38
 
39
- See more information by visiting the following links:
40
 
41
  - <https://github.com/k2-fsa/sherpa-onnx>
42
 
43
- If you want to deploy it locally, please see
44
- <https://k2-fsa.github.io/sherpa/>
45
-
46
- If you want to use Android APKs, please see
47
- <https://k2-fsa.github.io/sherpa/onnx/tts/apk.html>
48
-
49
- If you want to use Android text-to-speech engine APKs, please see
50
- <https://k2-fsa.github.io/sherpa/onnx/tts/apk-engine.html>
51
-
52
- If you want to download an all-in-one exe for Windows, please see
53
- <https://github.com/k2-fsa/sherpa-onnx/releases/tag/tts-models>
54
 
55
  """
56
 
@@ -157,12 +148,12 @@ with demo:
157
  )
158
 
159
  with gr.Tabs():
160
- with gr.TabItem("Please input your text"):
161
  input_text = gr.Textbox(
162
- label="Input text",
163
- info="Your text",
164
  lines=3,
165
- placeholder="Please input your text here",
166
  )
167
 
168
  input_sid = gr.Textbox(
@@ -179,12 +170,12 @@ with demo:
179
  maximum=10,
180
  value=1,
181
  step=0.1,
182
- label="Speed (larger->faster; smaller->slower)",
183
  )
184
 
185
- input_button = gr.Button("Submit")
186
 
187
- output_audio = gr.Audio(label="Output")
188
 
189
  output_info = gr.HTML(label="Info")
190
 
 
32
  title = "# Next-gen Kaldi: Text-to-speech (TTS)"
33
 
34
  description = """
35
+ Este espacio muestra el com贸 convertir texto a voz con tecnolog铆as como Piper, Kaldi, y Next-gen.
36
 
37
+ El proceso de convertir sucede en un CPU con un contenedor docker dado por la plataforma Hugging Face.
38
 
39
+ Si quiere obtener mas informaci贸n visite los sigientes links:
40
 
41
  - <https://github.com/k2-fsa/sherpa-onnx>
42
 
43
+ Tambien existen aplicaciones android con esta tecnolog铆a en el siguiente enlace:
44
+ <https://huggingface.co/csukuangfj/sherpa-onnx-apk/tree/main/tts>
 
 
 
 
 
 
 
 
 
45
 
46
  """
47
 
 
148
  )
149
 
150
  with gr.Tabs():
151
+ with gr.TabItem("Por favor ingresa tu texto"):
152
  input_text = gr.Textbox(
153
+ label="Texto",
154
+ info="Tu texto",
155
  lines=3,
156
+ placeholder="Por favor ingresa tu texto aqu铆",
157
  )
158
 
159
  input_sid = gr.Textbox(
 
170
  maximum=10,
171
  value=1,
172
  step=0.1,
173
+ label="Velocidad",
174
  )
175
 
176
+ input_button = gr.Button("Convertir")
177
 
178
+ output_audio = gr.Audio(label="Salida")
179
 
180
  output_info = gr.HTML(label="Info")
181