Spaces:
Runtime error
Runtime error
Update templates/interface.html
Browse files- templates/interface.html +13 -4
templates/interface.html
CHANGED
|
@@ -26,10 +26,19 @@
|
|
| 26 |
|
| 27 |
</div>
|
| 28 |
<div>
|
| 29 |
-
<label for="
|
| 30 |
-
<select id="
|
| 31 |
-
{% for
|
| 32 |
-
<option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
{% endfor %}
|
| 34 |
</select>
|
| 35 |
</div>
|
|
|
|
| 26 |
|
| 27 |
</div>
|
| 28 |
<div>
|
| 29 |
+
<label for="selected_model">Select a model:</label>
|
| 30 |
+
<select id="selected_model" name="selected_model">
|
| 31 |
+
{% for model_name in model_names %}
|
| 32 |
+
<option {% if model_name == selected_model %}selected{% endif %}>{{ model_name }}</option>
|
| 33 |
+
{% endfor %}
|
| 34 |
+
</select>
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
<div>
|
| 38 |
+
<label for="selected_speaker_id">Select a speaker:</label>
|
| 39 |
+
<select id="selected_speaker_id" name="selected_speaker_id">
|
| 40 |
+
{% for speaker_id, speaker_name in speaker_id_map.items() %}
|
| 41 |
+
<option {% if speaker_id == selected_speaker_id %}selected{% endif %} value="{{ speaker_id }}">{{ speaker_name }}</option>
|
| 42 |
{% endfor %}
|
| 43 |
</select>
|
| 44 |
</div>
|