MRasheq commited on
Commit
cd54917
·
verified ·
1 Parent(s): 22dfbf5

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +8 -40
index.html CHANGED
@@ -1,41 +1,9 @@
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
- <!-- Loading indicator -->
14
- <div id="loadingContainer">
15
- <div class="progress-bar">
16
- <div id="progressFill"></div>
17
- </div>
18
- <div id="loadingText">Loading model... <span id="progressPercent">0%</span></div>
19
- </div>
20
-
21
- <!-- Chat interface (initially hidden) -->
22
- <div id="chatInterface" style="display: none;">
23
- <textarea
24
- id="questionInput"
25
- placeholder="Type your question here..."
26
- rows="4"
27
- ></textarea>
28
-
29
- <button id="sendButton">
30
- Send Question
31
- </button>
32
-
33
- <div id="responseContainer">
34
- <div id="response"></div>
35
- </div>
36
- </div>
37
- </div>
38
-
39
- <script src="index.js" type="module"></script>
40
- </body>
41
  </html>
 
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <title>Transformers.js v3 (WebGPU support)</title>
5
+ </head>
6
+ <body>
7
+ <script type="module" src="/index.js"></script>
8
+ </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  </html>