Spaces:
Running
Running
Update index.html
Browse files- index.html +15 -18
index.html
CHANGED
@@ -1,19 +1,16 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
</p>
|
17 |
-
</div>
|
18 |
-
</body>
|
19 |
</html>
|
|
|
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 with Whisper</title>
|
7 |
+
<script src="https://cdn.jsdelivr.net/npm/@xenova/transformers"></script>
|
8 |
+
<script defer src="script.js"></script>
|
9 |
+
</head>
|
10 |
+
<body>
|
11 |
+
<h1>Upload an Audio File for Transcription</h1>
|
12 |
+
<input type="file" id="audioInput" accept="audio/*">
|
13 |
+
<button onclick="transcribe()">Transcribe</button>
|
14 |
+
<p id="output"></p>
|
15 |
+
</body>
|
|
|
|
|
|
|
16 |
</html>
|