Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +24 -10
index.html
CHANGED
@@ -1,10 +1,24 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
</
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
|
4 |
+
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
|
5 |
+
<meta charset="UTF-8" />
|
6 |
+
<link rel="stylesheet" href="style.css" />
|
7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
8 |
+
<title>Transformers.js - Object Detection demo</title>
|
9 |
+
</head>
|
10 |
+
|
11 |
+
<body>
|
12 |
+
<main class="container">
|
13 |
+
<label class="custom-file-upload">
|
14 |
+
<input id="file-upload" type="file" accept="image/*" />
|
15 |
+
<img class="upload-icon" src="https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/upload-icon.png" />
|
16 |
+
Upload image
|
17 |
+
</label>
|
18 |
+
<div id="image-container"></div>
|
19 |
+
<p id="status"></p>
|
20 |
+
</main>
|
21 |
+
<script src="./index.js" type="module"></script>
|
22 |
+
</body>
|
23 |
+
|
24 |
+
</html>
|