-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (51 loc) · 1.05 KB
/
index.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
<html>
<head>
<title>AI</title>
<style>
body {
font-family: monospace;
display: flex;
flex-direction: column;
}
a {
color: #08f;
}
input {
font-size: 1em;
font-family: monospace;
padding: 0.5em;
}
input.changed {
opacity: 0.5;
}
.requesting {
border-color: #f07;
}
output {
display: block;
margin: 1em 0;
}
output.err {
background: #f002;
}
</style>
</head>
<body>
<h1>AI 🤖🚀🌟</h1>
<p>
Some hacks with
<a href="https://developer.chrome.com/docs/ai/built-in">on-device ai</a>
<small
>(requires Chrome Canary + flags
<a
href="http://goo.gle/chrome-ai-dev-preview-join"
>+ sign up</a
>)</small
>
</p>
<input type="text" placeholder="Editable live prompt" />
<output></output>
<output class="err"></output>
<script type="module" src="main.js"></script>
</body>
</html>