Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +19 -19
templates/interface.html
CHANGED
@@ -24,26 +24,26 @@
|
|
24 |
{% endfor %}
|
25 |
</select>
|
26 |
|
27 |
-
</div>
|
28 |
-
<!-- Select a model -->
|
29 |
-
<div>
|
30 |
-
<label for="selected_model">Select a model:</label>
|
31 |
-
<select id="selected_model" name="selected_model">
|
32 |
-
{% for model_name in model_names %}
|
33 |
-
<option value="{{ model_name }}">{{ model_name }}</option>
|
34 |
-
{% endfor %}
|
35 |
-
</select>
|
36 |
-
</div>
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
<div id="speaker_selection" style="display: none;">
|
48 |
<!-- Dropdown for speaker selection -->
|
49 |
</div>
|
|
|
24 |
{% endfor %}
|
25 |
</select>
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
<!-- Select a model -->
|
29 |
+
<div>
|
30 |
+
<label for="selected_model">Select a model:</label>
|
31 |
+
<select id="selected_model" name="selected_model">
|
32 |
+
{% for model_name in model_names %}
|
33 |
+
<option value="{{ model_name }}" {% if model_name == selected_model %}selected{% endif %}>{{ model_name }}</option>
|
34 |
+
{% endfor %}
|
35 |
+
</select>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<!-- Display speaker options -->
|
39 |
+
<div>
|
40 |
+
<label for="selected_speaker_id">Select a speaker:</label>
|
41 |
+
<select id="selected_speaker_id" name="selected_speaker_id">
|
42 |
+
{% for speaker_id, speaker_name in speaker_id_map.items() %}
|
43 |
+
<option value="{{ speaker_id }}" {% if speaker_id == selected_speaker_id %}selected{% endif %}>{{ speaker_name }}</option>
|
44 |
+
{% endfor %}
|
45 |
+
</select>
|
46 |
+
</div>
|
47 |
<div id="speaker_selection" style="display: none;">
|
48 |
<!-- Dropdown for speaker selection -->
|
49 |
</div>
|