Spaces:
Runtime error
Runtime error
m4jbz
commited on
Commit
路
3140828
1
Parent(s):
3bba913
translated english to spanish
Browse files
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 |
-
|
36 |
|
37 |
-
|
38 |
|
39 |
-
|
40 |
|
41 |
- <https://github.com/k2-fsa/sherpa-onnx>
|
42 |
|
43 |
-
|
44 |
-
<https://
|
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("
|
161 |
input_text = gr.Textbox(
|
162 |
-
label="
|
163 |
-
info="
|
164 |
lines=3,
|
165 |
-
placeholder="
|
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="
|
183 |
)
|
184 |
|
185 |
-
input_button = gr.Button("
|
186 |
|
187 |
-
output_audio = gr.Audio(label="
|
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 |
|