Update index.html
Browse files- index.html +19 -17
index.html
CHANGED
@@ -1,29 +1,31 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
-
|
4 |
<head>
|
5 |
<meta charset="UTF-8" />
|
6 |
<link rel="stylesheet" href="style.css" />
|
7 |
-
|
8 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
9 |
-
<title>Transformers.js -
|
10 |
</head>
|
11 |
-
|
12 |
<body>
|
13 |
-
<h1>
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
<link rel="stylesheet" href="style.css" />
|
|
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
+
<title>Transformers.js - Text Generation</title>
|
8 |
</head>
|
|
|
9 |
<body>
|
10 |
+
<h1>Text Generation w/ 🤗 Transformers.js</h1>
|
11 |
+
|
12 |
+
<div class="chat-container">
|
13 |
+
<textarea
|
14 |
+
id="questionInput"
|
15 |
+
placeholder="Type your question here..."
|
16 |
+
rows="4"
|
17 |
+
></textarea>
|
18 |
+
|
19 |
+
<button id="sendButton">
|
20 |
+
Send Question
|
21 |
+
</button>
|
22 |
+
|
23 |
+
<div id="responseContainer">
|
24 |
+
<label id="status">Loading model...</label>
|
25 |
+
<div id="response"></div>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
|
29 |
<script src="index.js" type="module"></script>
|
30 |
</body>
|
|
|
31 |
</html>
|