Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +43 -24
templates/interface.html
CHANGED
@@ -1,33 +1,52 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
-
<html
|
3 |
<head>
|
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<link rel="stylesheet" href="styles.css"> <!-- Link to your external CSS file -->
|
7 |
-
|
8 |
</head>
|
9 |
<body>
|
10 |
-
<
|
11 |
-
|
12 |
-
<
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
</body>
|
33 |
</html>
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
<head>
|
4 |
+
<title>Your FastAPI App</title>
|
5 |
<meta charset="UTF-8">
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
<link rel="stylesheet" href="styles.css"> <!-- Link to your external CSS file -->
|
8 |
+
<!-- Add any CSS links or styles here -->
|
9 |
</head>
|
10 |
<body>
|
11 |
+
<div>
|
12 |
+
<label for="selection">Select speaker:</label>
|
13 |
+
<select id="selection"></select>
|
14 |
+
<button id="load_btn">Load it!</button>
|
15 |
+
</div>
|
16 |
+
|
17 |
+
<div id="speaker_selection" style="display: none;">
|
18 |
+
<!-- Dropdown for speaker selection -->
|
19 |
+
</div>
|
20 |
+
|
21 |
+
<div>
|
22 |
+
<label for="speed_slider">Rate scale:</label>
|
23 |
+
<input type="range" id="speed_slider" min="0.25" max="4" step="0.1" value="1">
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div>
|
27 |
+
<label for="noise_scale_slider">Phoneme noise scale:</label>
|
28 |
+
<input type="range" id="noise_scale_slider" min="0.25" max="4" step="0.1" value="0.667">
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<div>
|
32 |
+
<label for="noise_scale_w_slider">Phoneme stressing scale:</label>
|
33 |
+
<input type="range" id="noise_scale_w_slider" min="0.25" max="4" step="0.1" value="1">
|
34 |
+
</div>
|
35 |
+
|
36 |
+
<div>
|
37 |
+
<label for="play">Auto-play:</label>
|
38 |
+
<input type="checkbox" id="play" checked>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<div>
|
42 |
+
<label for="text_input">Text to synthesize:</label>
|
43 |
+
<input type="text" id="text_input" placeholder="Enter your text here">
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<button id="synthesize_button">Synthesize</button>
|
47 |
+
<button id="close_button">Exit</button>
|
48 |
+
|
49 |
+
<!-- Add any JavaScript scripts or functions here -->
|
50 |
</body>
|
51 |
</html>
|
52 |
+
|