Spaces:
Running
Running
Update index.html
Browse files- index.html +16 -25
index.html
CHANGED
@@ -1,29 +1,20 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
-
|
4 |
-
<head>
|
5 |
<meta charset="UTF-8" />
|
6 |
-
<
|
7 |
-
|
8 |
-
|
9 |
-
<
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
<
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
<label id="example">(or try example)</label>
|
22 |
-
</label>
|
23 |
-
<label id="status">Loading model...</label>
|
24 |
-
<input id="upload" type="file" accept="image/*" />
|
25 |
-
|
26 |
-
<script src="index.js" type="module"></script>
|
27 |
-
</body>
|
28 |
-
|
29 |
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
+
<head>
|
|
|
4 |
<meta charset="UTF-8" />
|
5 |
+
<title>Text Transformer Demo</title>
|
6 |
+
</head>
|
7 |
+
<body>
|
8 |
+
<script type="module" src="sketch.js"></script>
|
9 |
+
<div>
|
10 |
+
<textarea id="inputText" rows="10" cols="50">Pretend you are a robotic rover on Mars named MarsBot. Answer questions accordingly, taking about Mars and your work: What is your name?</textarea>
|
11 |
+
</div>
|
12 |
+
<div>
|
13 |
+
<button id="summarize">Summarize Text</button>
|
14 |
+
<button id="generate">Generate Text</button>
|
15 |
+
<button id="classify">Classify Toxicity</button>
|
16 |
+
</div>
|
17 |
+
<p id="status">Status: Ready</div>
|
18 |
+
<p id="output"></div>
|
19 |
+
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
</html>
|