-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (52 loc) · 1.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Speech Recognition Tutorial</title>
<style>
body {
font-family: Roboto, sans-serif;
text-align: center;
margin-top: 50px;
}
button {
margin: 10px;
padding: 10px 20px;
font-size: 16px;
}
textarea, input {
width: 80%;
margin-top: 20px;
}
textarea {
height: 150px; /* Increased height for the textarea */
}
#logo {
width: 300px;
height: auto;
margin-bottom: 20px;
}
</style>
</head>
<body>
<img id="logo" src="sb-logo.png" alt="Logo" />
<h1>GRAIN 2024 | Speech Technology</h1>
<input id="languageCode" type="text" placeholder="Language code, e.g., eng, swh, lug." />
<textarea id="inputTextArea" placeholder="Paste your tab-separated values here..." style="height: 250px"></textarea>
<div>
<button id="loadTextButton">Load Text</button>
<button id="prevButton" style="display:none" disabled>Previous</button>
<button id="nextButton" style="display:none" disabled>Next</button>
</div>
<p id="progressIndicator"></p>
<p id="textToRead" style="font-size: 18px"></p>
<div>
<button id="recordButton" disabled>Record</button>
<button id="stopButton" disabled>Stop</button>
</div>
<button id="downloadAllButton" style="display: none;">Download All Recordings</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.7.1/jszip.min.js"></script>
<script src="script.js"></script>
</body>
</html>