Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +25 -21
index.html
CHANGED
@@ -1,29 +1,33 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
-
|
4 |
<head>
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
<title>Transformers.js - Object Detection</title>
|
10 |
</head>
|
11 |
-
|
12 |
<body>
|
13 |
-
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
</path>
|
19 |
-
</svg>
|
20 |
-
Click to upload image
|
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 |
-
<
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
|
|
|
|
29 |
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
|
|
3 |
<head>
|
4 |
+
<meta charset="UTF-8" />
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
6 |
+
<title>Qwen3 Chat Interface</title>
|
7 |
+
<link rel="stylesheet" href="style.css"/>
|
|
|
8 |
</head>
|
|
|
9 |
<body>
|
10 |
+
<div class="chat-container">
|
11 |
+
<header>
|
12 |
+
<h1>Qwen3 Chat Assistant</h1>
|
13 |
+
<p>Powered by Transformers.js</p>
|
14 |
+
</header>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
+
<main>
|
17 |
+
<div id="chat-history" class="chat-history" role="log" aria-live="polite"></div>
|
18 |
+
|
19 |
+
<div class="input-area">
|
20 |
+
<textarea
|
21 |
+
id="user-input"
|
22 |
+
placeholder="Type your message here..."
|
23 |
+
aria-label="Type your message here"
|
24 |
+
rows="3"
|
25 |
+
></textarea>
|
26 |
+
<button id="send-button" aria-label="Send message">Send</button>
|
27 |
+
</div>
|
28 |
+
</main>
|
29 |
+
</div>
|
30 |
|
31 |
+
<script src="index.js" type="module"></script>
|
32 |
+
</body>
|
33 |
</html>
|