Xenova HF staff commited on
Commit
2f086e4
1 Parent(s): 308fba8

Upload 3 files

Browse files
assets/index-CfQ5qnGK.css ADDED
@@ -0,0 +1 @@
 
 
1
+ *{box-sizing:border-box;padding:0;margin:0;font-family:sans-serif}html,body{height:100%}body{padding:16px 32px}body,#container{display:flex;flex-direction:column;justify-content:center;align-items:center}#controls{display:flex;padding:1rem;gap:1rem}#controls>div{text-align:center}h1,h3{text-align:center}h3{margin-top:.5rem}#container{position:relative;width:720px;height:405px;max-width:100%;max-height:100%;border:2px dashed #D1D5DB;border-radius:.75rem;overflow:hidden;margin-top:1rem;background-size:100% 100%;background-position:center;background-repeat:no-repeat}#status{min-height:16px;margin:8px 0}video{width:100%;height:100%}input[type=text]{padding:.25rem .5rem;border:1px solid #D1D5DB;border-radius:.25rem;margin-top:2px}input[type=range]{margin-top:6px}#overlay{position:absolute;top:0;left:0;background-color:#ffffffe6;font-size:1rem;border-radius:2px}#overlay:not(:empty){padding:.5rem}
assets/index-DCR9Hsyd.js ADDED
The diff for this file is too large to render. See raw diff
 
index.html CHANGED
@@ -5,13 +5,13 @@
5
  <meta charset="UTF-8" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
  <title>Transformers.js | real-time image classification</title>
8
- <script type="module" crossorigin src="/assets/index-CW2Fx_pK.js"></script>
9
  <link rel="stylesheet" crossorigin href="/assets/index-CfQ5qnGK.css">
10
  </head>
11
 
12
  <body>
13
  <h1>
14
- Real-time image classificatio (WASM)
15
  </h1>
16
  <h3>
17
  Runs <a href="https://huggingface.co/onnx-community/mobilenetv4_conv_small.e2400_r224_in1k" target="_blank">MobileNetV4</a> locally in your browser w/
@@ -21,7 +21,7 @@
21
  <video id="video" autoplay muted playsinline></video>
22
  <div id="overlay"></div>
23
  </div>
24
- <label id="status">Loading model (8 MB)...</label>
25
 
26
  </body>
27
 
 
5
  <meta charset="UTF-8" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
  <title>Transformers.js | real-time image classification</title>
8
+ <script type="module" crossorigin src="/assets/index-DCR9Hsyd.js"></script>
9
  <link rel="stylesheet" crossorigin href="/assets/index-CfQ5qnGK.css">
10
  </head>
11
 
12
  <body>
13
  <h1>
14
+ Real-time image classification (WASM)
15
  </h1>
16
  <h3>
17
  Runs <a href="https://huggingface.co/onnx-community/mobilenetv4_conv_small.e2400_r224_in1k" target="_blank">MobileNetV4</a> locally in your browser w/
 
21
  <video id="video" autoplay muted playsinline></video>
22
  <div id="overlay"></div>
23
  </div>
24
+ <label id="status">Loading model (16 MB)...</label>
25
 
26
  </body>
27