Download index.html from WeReCooking/AI-Image-Detector-WebGPU: direct link, hf CLI and curl.
- Browser
- Download file 3.28 kB
-
https://huggingface.co/spaces/WeReCooking/AI-Image-Detector-WebGPU/resolve/main/index.html
- Command line
-
hf download hf://spaces/WeReCooking/AI-Image-Detector-WebGPU/index.html
-
curl -L -o index.html https://huggingface.co/spaces/WeReCooking/AI-Image-Detector-WebGPU/resolve/main/index.html
3.28 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>AI Image Check</title> | |
| <meta name="description" content="Two AI image detectors, Smaug and Mesmer, running on your own GPU with ONNX Runtime Web. Your photo never leaves this tab."> | |
| <link rel="icon" href="data:,"> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <main> | |
| <p id="line"><b>Is it AI?</b> <a href="https://huggingface.co/abacusai/Smaug-AI-Image-Detector" target="_blank" rel="noopener">Smaug</a> | |
| and <a href="https://huggingface.co/mesmertech/mesmer-ai-image-detector" target="_blank" rel="noopener">Mesmer</a> check your photo on your own GPU. It never leaves this tab.</p> | |
| <label id="drop" for="file"> | |
| <img id="photo" alt=""> | |
| <span id="ask">Drop, paste or <u>pick a photo</u></span> | |
| <input id="file" type="file" accept="image/*" class="sr"> | |
| </label> | |
| <section id="results" aria-live="polite"> | |
| <div class="res" id="smaug"><a class="name" href="https://huggingface.co/abacusai/Smaug-AI-Image-Detector" target="_blank" rel="noopener">Smaug</a> | |
| <span class="meter"><i></i></span><span class="val">waiting for a photo</span></div> | |
| <div class="res" id="mesmer"><a class="name" href="https://huggingface.co/mesmertech/mesmer-ai-image-detector" target="_blank" rel="noopener">Mesmer</a> | |
| <span class="meter"><i></i></span><span class="val">waiting for a photo</span></div> | |
| </section> | |
| <section id="examples"> | |
| <p>Or try one: <span class="k">real photos</span> then <span class="k">AI images</span></p> | |
| <div id="thumbs"></div> | |
| </section> | |
| <details id="more"> | |
| <summary>About, storage and credits</summary> | |
| <p>Both models download once into this browser (about <span id="sizes">1.3 GB</span>), then work offline. They need WebGPU | |
| (Chrome or Edge 121+, Android 12+, Safari 26). Smaug answers first; Mesmer is bigger and follows.</p> | |
| <p>A score is a likelihood, not proof. Detectors miss images from new generators, and heavy edits, screenshots or | |
| recompression can fool them. Do not use them as the only evidence about a person.</p> | |
| <p><b>Smaug</b>: <a href="https://huggingface.co/abacusai/Smaug-AI-Image-Detector" target="_blank" rel="noopener">abacusai/Smaug-AI-Image-Detector</a> | |
| (Apache-2.0), run from the 4-bit web build <a href="https://huggingface.co/21amd21/smaug-ai-image-detector-web" target="_blank" rel="noopener">21amd21/smaug-ai-image-detector-web</a>. | |
| The bar is sigmoid of the mean logit of three 528 px crops.</p> | |
| <p><b>Mesmer</b>: <a href="https://huggingface.co/mesmertech/mesmer-ai-image-detector" target="_blank" rel="noopener">mesmertech/mesmer-ai-image-detector</a> | |
| (CC-BY-NC-SA-4.0, non-commercial), on Meta's Perception Encoder backbones (Apache-2.0). ONNX conversion: | |
| <a id="repo" target="_blank" rel="noopener">model repo</a>. Verdict lines and the bar come from the model's policy: 50% at "uncertain", 90% at "likely AI"; | |
| it is a display score, not a calibrated probability.</p> | |
| <p id="store"></p> | |
| <button id="wipe" type="button">Delete downloaded models</button> | |
| <p id="credits"></p> | |
| </details> | |
| </main> | |
| <script type="module" src="app.js"></script> | |
| </body> | |
| </html> | |