Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +21 -13
index.html
CHANGED
@@ -29,21 +29,29 @@
|
|
29 |
</div>
|
30 |
|
31 |
<div class="controls" id="controls">
|
32 |
-
<button id="
|
33 |
-
<
|
34 |
-
|
|
|
35 |
</button>
|
36 |
|
37 |
-
<
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
</div>
|
48 |
</div>
|
49 |
|
|
|
29 |
</div>
|
30 |
|
31 |
<div class="controls" id="controls">
|
32 |
+
<button id="controlsToggle" class="controls-toggle">
|
33 |
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
34 |
+
<polyline points="6 9 12 15 18 9"></polyline>
|
35 |
+
</svg>
|
36 |
</button>
|
37 |
|
38 |
+
<div class="controls-content" id="controlsContent">
|
39 |
+
<button id="processBtn" class="primary-btn">
|
40 |
+
<span class="btn-text">Start Live Captions</span>
|
41 |
+
<div class="spinner"></div>
|
42 |
+
</button>
|
43 |
+
|
44 |
+
<button id="changeVideoBtn" class="secondary-btn">Change Video</button>
|
45 |
+
|
46 |
+
<div class="settings">
|
47 |
+
<label class="setting-item">
|
48 |
+
<span>Device</span>
|
49 |
+
<select id="deviceSelect">
|
50 |
+
<option value="cpu">CPU</option>
|
51 |
+
<option value="webgpu" selected>GPU (WebGPU)</option>
|
52 |
+
</select>
|
53 |
+
</label>
|
54 |
+
</div>
|
55 |
</div>
|
56 |
</div>
|
57 |
|