Spaces:
Running
Running
Update index.html
Browse files- index.html +16 -32
index.html
CHANGED
|
@@ -1,41 +1,25 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="zh-Hant">
|
| 3 |
<head>
|
| 4 |
-
<meta charset="
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1"
|
| 6 |
-
<title>
|
| 7 |
-
<link rel="stylesheet" href="style.css"
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
<
|
| 11 |
-
<header class="
|
| 12 |
-
<h1>
|
| 13 |
-
</header>
|
| 14 |
|
|
|
|
| 15 |
|
| 16 |
-
<
|
| 17 |
-
<
|
| 18 |
-
<
|
| 19 |
-
<
|
| 20 |
-
<
|
| 21 |
|
| 22 |
-
|
| 23 |
-
<label class="label">Message</label>
|
| 24 |
-
<input id="userMessage" class="single-line" type="text" placeholder="Type your message..." />
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
<button id="sendBtn" class="send-btn">Send</button>
|
| 28 |
-
</div>
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
<div id="chatDisplay" class="chat-display" aria-live="polite"></div>
|
| 32 |
-
</section>
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
<footer class="app-footer">Built with Gradio client</footer>
|
| 36 |
-
</main>
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
<script type="module" src="index.js"></script>
|
| 40 |
</body>
|
| 41 |
-
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="zh-Hant">
|
| 3 |
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>My ChatGPT-like App</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
<div class="chat-container">
|
| 11 |
+
<header class="chat-header">
|
| 12 |
+
<h1>Large Model Chat</h1>
|
| 13 |
+
</header>
|
| 14 |
|
| 15 |
+
<main id="chat-window" class="chat-window"></main>
|
| 16 |
|
| 17 |
+
<footer class="chat-input-area">
|
| 18 |
+
<textarea id="userMessage" placeholder="輸入訊息後按 Enter 送出..."></textarea>
|
| 19 |
+
<button id="sendBtn">送出</button>
|
| 20 |
+
</footer>
|
| 21 |
+
</div>
|
| 22 |
|
| 23 |
+
<script type="module" src="index.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
</body>
|
| 25 |
+
</html>
|