-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
59 lines (57 loc) · 1.32 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Summarize and Read Using the Kagi Universal Summarizer</title>
<h3>
Summarize and Read Using
<a href="https://labs.kagi.com/ai/sum">Kagi Universal Summarizer</a>
</h1>
<style>
.highlighted {
font-style: italic;
background-color: lightgrey;
}
#voice-select,
#speed-slider {
width: 200px;
}
.sample-buttons {
display: flex;
justify-content: center;
align-items: center;
}
.sample-buttons button {
margin: 10px;
}
</style>
</head>
<body>
<div>
<label for="voice-select">Voice:</label>
<select id="voice-select"></select>
</div>
<div>
<label for="speed-slider">Speed:</label>
<input
type="range"
id="speed-slider"
min="0.5"
max="2"
step="0.5"
value="1"
/>
</div>
<div class="sample-buttons">
<button id="play-button">Sample</button>
<button id="pause-button">Pause/Resume</button>
<button id="stop-button">Stop</button>
</div>
<div>
<button id="summarize-button">Summarize</button>
<p id="summary-status"></p>
<p id="summary"></p>
</div>
<script src="popup.js"></script>
</body>
</html>