Spaces:
Runtime error
Runtime error
Update index.html
Browse files- index.html +10 -4
index.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
@@ -144,7 +144,8 @@
|
|
| 144 |
<h1>Convertidor de Texto a Audio</h1>
|
| 145 |
<form action="/convert" method="post">
|
| 146 |
<label for="model">Selecciona el modelo ONNX:</label><br>
|
| 147 |
-
<div> <p>Prueba nuevos modelos avanzados en HirLab:</p> <a href="https://tts.hircoir.eu.org" style="color: #ADD8E6;" target="_blank"> Modelos disponibles: Sora Español México, Voz HirCoir, Kamora Español México </a> <p>Try new advanced models at HirLab:</p> <a href="https://tts.hircoir.eu.org" style="color: #ADD8E6;" target="_blank"> Available models: Sora Spanish Mexico, Voz HirCoir, Kamora Spanish Mexico </a> </div>
|
|
|
|
| 148 |
{% for model in model_options %}
|
| 149 |
<option value="{{ model }}">{{ model }}</option>
|
| 150 |
{% endfor %}
|
|
@@ -165,10 +166,14 @@
|
|
| 165 |
></path>
|
| 166 |
</svg>
|
| 167 |
</button>
|
| 168 |
-
|
| 169 |
</form>
|
| 170 |
<div id="audio-container"></div>
|
| 171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
<script>
|
| 173 |
document.querySelector('form').addEventListener('submit', async function (e) {
|
| 174 |
e.preventDefault();
|
|
@@ -187,4 +192,5 @@
|
|
| 187 |
document.getElementById('audio-container').appendChild(audioElement);
|
| 188 |
});
|
| 189 |
</script>
|
| 190 |
-
</body>
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="es">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
| 144 |
<h1>Convertidor de Texto a Audio</h1>
|
| 145 |
<form action="/convert" method="post">
|
| 146 |
<label for="model">Selecciona el modelo ONNX:</label><br>
|
| 147 |
+
<div> <p>Prueba nuevos modelos avanzados en HirLab:</p> <a href="https://tts.hircoir.eu.org" style="color: #ADD8E6;" target="_blank"> Modelos disponibles: Sora Español México, Voz HirCoir, Kamora Español México </a> <p>Try new advanced models at HirLab:</p> <a href="https://tts.hircoir.eu.org" style="color: #ADD8E6;" target="_blank"> Available models: Sora Spanish Mexico, Voz HirCoir, Kamora Spanish Mexico </a> </div>
|
| 148 |
+
<select id="model" name="model">
|
| 149 |
{% for model in model_options %}
|
| 150 |
<option value="{{ model }}">{{ model }}</option>
|
| 151 |
{% endfor %}
|
|
|
|
| 166 |
></path>
|
| 167 |
</svg>
|
| 168 |
</button>
|
|
|
|
| 169 |
</form>
|
| 170 |
<div id="audio-container"></div>
|
| 171 |
|
| 172 |
+
<!-- Video de YouTube -->
|
| 173 |
+
<div style="margin-top: 20px;">
|
| 174 |
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/pLJTvJ9nJEY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
| 175 |
+
</div>
|
| 176 |
+
|
| 177 |
<script>
|
| 178 |
document.querySelector('form').addEventListener('submit', async function (e) {
|
| 179 |
e.preventDefault();
|
|
|
|
| 192 |
document.getElementById('audio-container').appendChild(audioElement);
|
| 193 |
});
|
| 194 |
</script>
|
| 195 |
+
</body>
|
| 196 |
+
</html>
|