Spaces:
Running
Running
Update index.html
Browse files- index.html +35 -23
index.html
CHANGED
|
@@ -1,29 +1,41 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="
|
| 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 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
</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" />
|
| 6 |
+
<title>Gradio Chat UI</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css" />
|
|
|
|
| 8 |
</head>
|
|
|
|
| 9 |
<body>
|
| 10 |
+
<main class="app">
|
| 11 |
+
<header class="app-header">
|
| 12 |
+
<h1>Chat with Large Model</h1>
|
| 13 |
+
</header>
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
<section class="chat-area">
|
| 17 |
+
<div class="controls">
|
| 18 |
+
<label class="label">System prompt</label>
|
| 19 |
+
<!-- single-line with horizontal scrolling -->
|
| 20 |
+
<input id="systemPrompt" class="single-line" type="text" placeholder="System prompt (single line)" />
|
| 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>
|