Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,10 @@ file_folder = '/home/app/'
|
|
14 |
|
15 |
# Models with specific character replacements
|
16 |
models_replacements = {
|
|
|
|
|
|
|
|
|
17 |
"Español México | Kamora Neuronal": {
|
18 |
"model_path": "es_MX-kamora-tiny-x-low.onnx",
|
19 |
"replacements": [('\n', '. ')]
|
@@ -21,6 +25,18 @@ models_replacements = {
|
|
21 |
"Español México | Claude": {
|
22 |
"model_path": "es_MX-claude-14947-epoch-high.onnx",
|
23 |
"replacements": [('(', ','), (')', ','), ('?', ','), ('¿', ','), (':', ','), ('\n', ' ')]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
}
|
26 |
|
|
|
14 |
|
15 |
# Models with specific character replacements
|
16 |
models_replacements = {
|
17 |
+
"Español México | Voz HirCoir": {
|
18 |
+
"model_path": "es_MX-locutor-18488-epoch-high.onnx",
|
19 |
+
"replacements": [('(', ','), (')', ','), ('?', ','), ('¿', ','), (':', ','), ('\n', ' ')]
|
20 |
+
},
|
21 |
"Español México | Kamora Neuronal": {
|
22 |
"model_path": "es_MX-kamora-tiny-x-low.onnx",
|
23 |
"replacements": [('\n', '. ')]
|
|
|
25 |
"Español México | Claude": {
|
26 |
"model_path": "es_MX-claude-14947-epoch-high.onnx",
|
27 |
"replacements": [('(', ','), (')', ','), ('?', ','), ('¿', ','), (':', ','), ('\n', ' ')]
|
28 |
+
},
|
29 |
+
"Español México | Cortana Infinnity": {
|
30 |
+
"model_path": "es_MX-cortana-19669-epoch-high.onnx",
|
31 |
+
"replacements": [('(', ','), (')', ','), ('?', ','), ('¿', ','), (':', ','), ('\n', ' ')]
|
32 |
+
},
|
33 |
+
"Español México | TheGevy": {
|
34 |
+
"model_path": "es_MX-gevy-10196-epoch-high.onnx",
|
35 |
+
"replacements": [('(', ','), (')', ','), ('?', ','), ('¿', ','), (':', ','), ('\n', ' ')]
|
36 |
+
},
|
37 |
+
"English US | Voice": {
|
38 |
+
"model_path": "en_US-ljspeech-high.onnx",
|
39 |
+
"replacements": [('(', ','), (')', ','), ('?', ','), ('¿', ','), (':', ','), ('\n', ' ')]
|
40 |
}
|
41 |
}
|
42 |
|