CoolFace
Apppublic

Xenova/webgpu-nomic-embed

sourceHugging Faceupdated 2y agoView on Hugging Face
18likes
index.html42 linesDownload Raw Back to root
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>Transformers.js | real-time CLIP</title>7    <script type="module" crossorigin src="/assets/index-CbHaCsbK.js"></script>8    <link rel="stylesheet" crossorigin href="/assets/index-DwBfK3bE.css">9  </head>10 11  <body>12    <h1>Real-time zero-shot image classification (WebGPU)</h1>13    <h3>14      Runs locally in your browser w/15      <a16        href="https://github.com/huggingface/transformers.js"17        target="_blank"18        rel="noopener noreferrer"19        >🤗 Transformers.js</a20      >21    </h3>22    <div id="container">23      <video id="video" autoplay muted playsinline></video>24      <div id="overlay"></div>25    </div>26    <div id="controls">27      <div title="Labels used to perform zero-shot image classification">28        <label>Labels (comma-separated)</label>29        <br />30        <input id="labels" type="text" disabled />31      </div>32      <div title="Template used to perform zero-shot image classification">33        <label>Hypothesis template</label>34        <br />35        <input id="template" type="text" value="A photo of a {}" disabled />36      </div>37    </div>38    <label id="status"></label>39 40  </body>41</html>42