Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +2 -1
templates/interface.html
CHANGED
@@ -15,6 +15,7 @@
|
|
15 |
<label for="text_input">Text to synthesize:</label>
|
16 |
<textarea id="text_input" name="text_input" rows="5" cols="50">{{ text_input }}</textarea>
|
17 |
|
|
|
18 |
</div>
|
19 |
<div>
|
20 |
<label for="selection">Select Language:</label>
|
@@ -140,7 +141,7 @@
|
|
140 |
xhr.setRequestHeader("Content-Type", "application/json");
|
141 |
|
142 |
// Use the injected authorization token
|
143 |
-
|
144 |
var token = read_key;
|
145 |
xhr.setRequestHeader("Authorization", "Bearer " + token);
|
146 |
|
|
|
15 |
<label for="text_input">Text to synthesize:</label>
|
16 |
<textarea id="text_input" name="text_input" rows="5" cols="50">{{ text_input }}</textarea>
|
17 |
|
18 |
+
|
19 |
</div>
|
20 |
<div>
|
21 |
<label for="selection">Select Language:</label>
|
|
|
141 |
xhr.setRequestHeader("Content-Type", "application/json");
|
142 |
|
143 |
// Use the injected authorization token
|
144 |
+
|
145 |
var token = read_key;
|
146 |
xhr.setRequestHeader("Authorization", "Bearer " + token);
|
147 |
|