Samarth043 commited on
Commit
f1ef9e0
·
verified ·
1 Parent(s): f046f18

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -22,7 +22,7 @@ small{color:#93a3b1}
22
  <body>
23
  <main>
24
  <h1>Was this image made by AI?</h1>
25
- <p>Runs on your phone. Your image is never uploaded. The first check downloads the model (a few hundred MB), so use Wi-Fi.</p>
26
  <input id="f" type="file" accept="image/*">
27
  <img id="p" alt="">
28
  <div id="res">
@@ -37,7 +37,7 @@ small{color:#93a3b1}
37
  <script type="module">
38
  import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3';
39
  const $ = id => document.getElementById(id);
40
- const MODEL = 'onnx-community/CommunityForensics-DeepfakeDet-ViT-ONNX';
41
  let clf;
42
  async function load(){
43
  if(clf) return clf;
@@ -83,4 +83,4 @@ $('f').onchange = async e => {
83
  };
84
  </script>
85
  </body>
86
- </html>
 
22
  <body>
23
  <main>
24
  <h1>Was this image made by AI?</h1>
25
+ <p>Runs on your phone. Your image is never uploaded. The first check downloads the model (about 100 MB), so use Wi-Fi.</p>
26
  <input id="f" type="file" accept="image/*">
27
  <img id="p" alt="">
28
  <div id="res">
 
37
  <script type="module">
38
  import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3';
39
  const $ = id => document.getElementById(id);
40
+ const MODEL = 'buildborderless/CommunityForensics-DeepfakeDet-ViT';
41
  let clf;
42
  async function load(){
43
  if(clf) return clf;
 
83
  };
84
  </script>
85
  </body>
86
+ </html>