Spaces:
Running
Running
Update index.html
Browse files- index.html +14 -23
index.html
CHANGED
@@ -1,29 +1,20 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
-
|
4 |
<head>
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
10 |
</head>
|
11 |
-
|
12 |
<body>
|
13 |
-
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
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 |
-
<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 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
6 |
+
<title>Orpheus‑3B Text Generation</title>
|
7 |
+
<link rel="stylesheet" href="style.css" />
|
8 |
+
<!-- Transformers.js bundle (includes ONNXRuntime‑Web under the hood) -->
|
9 |
+
<script src="https://cdn.jsdelivr.net/npm/@xenova/transformers/dist/transformers.min.js"></script>
|
10 |
</head>
|
|
|
11 |
<body>
|
12 |
+
<div class="container">
|
13 |
+
<h1>Orpheus‑3B ONNX Text Generation</h1>
|
14 |
+
<textarea id="prompt" placeholder="Enter your prompt here…" rows="4"></textarea>
|
15 |
+
<button id="generate">Generate</button>
|
16 |
+
<div id="output"></div>
|
17 |
+
</div>
|
18 |
+
<script src="index.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</body>
|
20 |
+
</html>
|
|