krishna195 commited on
Commit
7d66de5
Β·
verified Β·
1 Parent(s): 35c66c7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -3
index.html CHANGED
@@ -3,16 +3,18 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Real-time Speech-to-Text</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>Real-time Speech-to-Text</h1>
12
  <p id="modelStatus">⏳ Loading model...</p>
13
- <button id="recordButton" disabled>πŸ”„ Model loading...</button>
 
14
  <p id="status">Waiting for model...</p>
15
  <p><strong>Transcription:</strong></p>
16
  <p id="output"></p>
 
17
  </body>
18
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Speech-to-Text Debug</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>Speech-to-Text (Debug Mode)</h1>
12
  <p id="modelStatus">⏳ Loading model...</p>
13
+ <button id="testModel" disabled>Test Model</button>
14
+ <button id="recordButton" disabled>πŸ”„ Model Loading...</button>
15
  <p id="status">Waiting for model...</p>
16
  <p><strong>Transcription:</strong></p>
17
  <p id="output"></p>
18
+ <p id="error" style="color: red;"></p>
19
  </body>
20
  </html>