Spaces:
Running
Running
Update index.html
Browse files- index.html +38 -37
index.html
CHANGED
|
@@ -1,40 +1,41 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
|
| 4 |
-
<head>
|
| 5 |
-
<meta charset="UTF-8" />
|
| 6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
-
<title>Transformers.js | real-time Jina CLIP</title>
|
| 8 |
<script type="module" crossorigin src="/assets/index-AEspVl8_.js"></script>
|
| 9 |
<link rel="stylesheet" crossorigin href="/assets/index-DDYN1ddX.css">
|
| 10 |
-
</head>
|
| 11 |
-
|
| 12 |
-
<body>
|
| 13 |
-
<h1>
|
| 14 |
-
Real-time zero-shot image classification (WebGPU)
|
| 15 |
-
</h1>
|
| 16 |
-
<h3>
|
| 17 |
-
Runs <a href="https://huggingface.co/jinaai/jina-clip-v1" target="_blank">Jina CLIP</a> locally in your browser w/
|
| 18 |
-
<a href="https://github.com/xenova/transformers.js" target="_blank">🤗 Transformers.js</a>
|
| 19 |
-
</h3>
|
| 20 |
-
<div id="container">
|
| 21 |
-
<video id="video" autoplay muted playsinline></video>
|
| 22 |
-
<div id="overlay"></div>
|
| 23 |
-
</div>
|
| 24 |
-
<div id="controls">
|
| 25 |
-
<div title="Labels used to perform zero-shot image classification">
|
| 26 |
-
<label>Labels (comma-separated)</label>
|
| 27 |
-
<br>
|
| 28 |
-
<input id="labels" type="text" disabled>
|
| 29 |
-
</div>
|
| 30 |
-
<div title="Template used to perform zero-shot image classification">
|
| 31 |
-
<label>Hypothesis template</label>
|
| 32 |
-
<br>
|
| 33 |
-
<input id="template" type="text" value="A photo of a {}" disabled>
|
| 34 |
-
</div>
|
| 35 |
-
</div>
|
| 36 |
-
<label id="status"
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
| 40 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
+
<title>Transformers.js | real-time Jina CLIP</title>
|
| 8 |
<script type="module" crossorigin src="/assets/index-AEspVl8_.js"></script>
|
| 9 |
<link rel="stylesheet" crossorigin href="/assets/index-DDYN1ddX.css">
|
| 10 |
+
</head>
|
| 11 |
+
|
| 12 |
+
<body>
|
| 13 |
+
<h1>
|
| 14 |
+
Real-time zero-shot image classification (WebGPU)
|
| 15 |
+
</h1>
|
| 16 |
+
<h3>
|
| 17 |
+
Runs <a href="https://huggingface.co/jinaai/jina-clip-v1" target="_blank">Jina CLIP</a> locally in your browser w/
|
| 18 |
+
<a href="https://github.com/xenova/transformers.js" target="_blank">🤗 Transformers.js</a>
|
| 19 |
+
</h3>
|
| 20 |
+
<div id="container">
|
| 21 |
+
<video id="video" autoplay muted playsinline></video>
|
| 22 |
+
<div id="overlay"></div>
|
| 23 |
+
</div>
|
| 24 |
+
<div id="controls">
|
| 25 |
+
<div title="Labels used to perform zero-shot image classification">
|
| 26 |
+
<label>Labels (comma-separated)</label>
|
| 27 |
+
<br>
|
| 28 |
+
<input id="labels" type="text" disabled>
|
| 29 |
+
</div>
|
| 30 |
+
<div title="Template used to perform zero-shot image classification">
|
| 31 |
+
<label>Hypothesis template</label>
|
| 32 |
+
<br>
|
| 33 |
+
<input id="template" type="text" value="A photo of a {}" disabled>
|
| 34 |
+
</div>
|
| 35 |
+
</div>
|
| 36 |
+
<label id="status">Loading model (337MB)...</label>
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
</body>
|
| 40 |
+
|
| 41 |
</html>
|