Gregniuki commited on
Commit
8b015e4
·
1 Parent(s): 5288ae8

Update templates/interface.html

Browse files
Files changed (1) hide show
  1. templates/interface.html +13 -4
templates/interface.html CHANGED
@@ -26,10 +26,19 @@
26
 
27
  </div>
28
  <div>
29
- <label for="voice">Select Voice:</label>
30
- <select id="voice" name="voice">
31
- {% for voice in voices %}
32
- <option value="{{ voice.id }}">{{ voice.name }}</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>