Spaces:
Sleeping
Sleeping
Create templates/index.html
Browse files- templates/index.html +30 -0
templates/index.html
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Speech to Text Converter</title>
|
7 |
+
|
8 |
+
<!-- Link to CSS -->
|
9 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
<div class="main">
|
13 |
+
<div class="container">
|
14 |
+
<h1>Speech to Text</h1>
|
15 |
+
<div class="button">
|
16 |
+
<button id="recordButton">Start</button>
|
17 |
+
<small id="recordStatus">Tap to Record</small>
|
18 |
+
</div>
|
19 |
+
<div id="output"></div>
|
20 |
+
<div id="transcribeContainer" style="display: none;">
|
21 |
+
<button id="transcribeButton">Transcribe</button>
|
22 |
+
</div>
|
23 |
+
<div id="convert_text"></div>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
<!-- Script JS -->
|
28 |
+
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
|
29 |
+
</body>
|
30 |
+
</html>
|