gsaon commited on
Commit
11f1126
·
verified ·
1 Parent(s): 18f776d

Upload 2 files

Browse files
Files changed (2) hide show
  1. index.html +11 -9
  2. style.css +8 -0
index.html CHANGED
@@ -89,14 +89,16 @@
89
  <option value="translate_ja">Translate to Japanese</option>
90
  </select>
91
  </div>
92
- <label class="checkbox-row">
93
- <input type="checkbox" id="vadCheckbox" checked>
94
- <span>Speech segmentation (VAD)</span>
95
- </label>
96
- <label class="checkbox-row">
97
- <input type="checkbox" id="punctuationCheckbox" checked>
98
- <span>Add punctuation (English only)</span>
99
- </label>
 
 
100
  <button id="transcribeBtn" class="transcribe-btn" disabled>
101
  Transcribe
102
  </button>
@@ -130,7 +132,7 @@
130
  <!-- Footer -->
131
  <div class="footer">
132
  Made with
133
- <a href="https://huggingface.co/ibm-granite/granite-4.0-1b-speech" target="_blank">Granite 4.0 1B Speech</a> (quantized)
134
  and
135
  <a href="https://huggingface.co/docs/transformers.js" target="_blank">Transformers.js</a>
136
  <br>
 
89
  <option value="translate_ja">Translate to Japanese</option>
90
  </select>
91
  </div>
92
+ <div class="checkbox-group">
93
+ <label class="checkbox-row">
94
+ <input type="checkbox" id="vadCheckbox" checked>
95
+ <span>VAD segmentation</span>
96
+ </label>
97
+ <label class="checkbox-row">
98
+ <input type="checkbox" id="punctuationCheckbox" checked>
99
+ <span>Punctuation</span>
100
+ </label>
101
+ </div>
102
  <button id="transcribeBtn" class="transcribe-btn" disabled>
103
  Transcribe
104
  </button>
 
132
  <!-- Footer -->
133
  <div class="footer">
134
  Made with
135
+ <a href="https://huggingface.co/ibm-granite/granite-4.0-1b-speech" target="_blank">Granite 4.0 1B Speech</a>
136
  and
137
  <a href="https://huggingface.co/docs/transformers.js" target="_blank">Transformers.js</a>
138
  <br>
style.css CHANGED
@@ -336,6 +336,14 @@ h2 {
336
  cursor: not-allowed;
337
  }
338
 
 
 
 
 
 
 
 
 
339
  .checkbox-row {
340
  display: flex;
341
  align-items: center;
 
336
  cursor: not-allowed;
337
  }
338
 
339
+ .checkbox-group {
340
+ display: flex;
341
+ gap: 1.5rem;
342
+ justify-content: center;
343
+ width: 100%;
344
+ max-width: 540px;
345
+ }
346
+
347
  .checkbox-row {
348
  display: flex;
349
  align-items: center;