Gregniuki commited on
Commit
4b32868
·
1 Parent(s): a2cf0df

Update templates/interface.html

Browse files
Files changed (1) hide show
  1. templates/interface.html +8 -4
templates/interface.html CHANGED
@@ -13,7 +13,7 @@
13
  <form method="post" action="/" onsubmit="showLoadingMessage()">
14
  <div>
15
  <label for="text_input">Text to synthesize:</label>
16
- <input type="text" id="text_input" name="text_input" value="{{ text_input }}">>
17
  </div>
18
  <div>
19
  <label for="selection">Select speaker:</label>
@@ -43,13 +43,17 @@
43
  <label for="noise_scale_w_slider">Phoneme stressing scale:</label>
44
  <input type="range" id="noise_scale_w_slider" name="noise_scale_w_slider" min="0.25" max="1" step="0.1" value="1">
45
  </div>
 
 
 
 
 
 
46
 
47
  <div>
48
  <button type="submit" id="synthesize_button">Synthesize</button>
49
  </div>
50
- <div>
51
- {{ response_html|safe }}
52
- </div>
53
 
54
 
55
  {% if file_url %}
 
13
  <form method="post" action="/" onsubmit="showLoadingMessage()">
14
  <div>
15
  <label for="text_input">Text to synthesize:</label>
16
+ <input type="text" id="text_input" name="text_input" value="{{ text_input }}">
17
  </div>
18
  <div>
19
  <label for="selection">Select speaker:</label>
 
43
  <label for="noise_scale_w_slider">Phoneme stressing scale:</label>
44
  <input type="range" id="noise_scale_w_slider" name="noise_scale_w_slider" min="0.25" max="1" step="0.1" value="1">
45
  </div>
46
+ <!-- Add a div with the "loading-message" ID for the loading message -->
47
+ <div id="loading-message"></div>
48
+
49
+ <!-- Include the dynamic content from response_html -->
50
+ {{ response_html|safe }}
51
+
52
 
53
  <div>
54
  <button type="submit" id="synthesize_button">Synthesize</button>
55
  </div>
56
+
 
 
57
 
58
 
59
  {% if file_url %}