jfrery-zama commited on
Commit
f8cf5f0
Β·
unverified Β·
1 Parent(s): b058d94

improve wording

Browse files
Files changed (2) hide show
  1. index.html +28 -5
  2. wasm-demo.js +2 -2
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <title>Private AI Text Detector – Check if your encrypted text is AI-generated</title>
7
  <link rel="icon" type="image/x-icon" href="favicon.ico">
8
 
9
  <style>
@@ -395,10 +395,33 @@
395
  <!-- Hero -->
396
  <header class="hero" role="banner">
397
  <div class="hero-copy">
398
- <h1>Private AI Text Detection</h1>
399
- <div class="explanation-text">
400
- Private SynthID uses Google's SynthID technology to identify AI-generated text while preserving privacy through Fully Homomorphic Encryption (FHE). This means you can learn whether your text was produced by an AIβ€”without anyone ever seeing the content. Learn more about <a href="https://deepmind.google/science/synthid/" target="_blank">SynthID</a> and <a href="https://www.zama.ai/" target="_blank">FHE applications</a>.
401
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  </div>
403
  </header>
404
 
 
3
  <head>
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Private AI Generated Text Detection</title>
7
  <link rel="icon" type="image/x-icon" href="favicon.ico">
8
 
9
  <style>
 
395
  <!-- Hero -->
396
  <header class="hero" role="banner">
397
  <div class="hero-copy">
398
+ <h1>Private AI Generated Text Detection</h1>
399
+
400
+ <!-- 1 β€” Why it matters -->
401
+ <p class="explanation-text">
402
+ AI models can embed an invisible <strong>watermark</strong> – a tiny cryptographic
403
+ signature hidden in the text – that proves the text came from them.
404
+ This demo shows you can <em>detect</em> such a watermark
405
+ while your words stay fully encrypted in your browser, thanks to
406
+ <a href="https://www.zama.ai/" target="_blank">Fully Homomorphic Encryption&nbsp;(FHE)</a>.
407
+ </p>
408
+
409
+ <!-- 2 β€” How it works in plain English -->
410
+ <p class="explanation-text">
411
+ β€’ Your text is encrypted locally.<br>
412
+ β€’ Our server runs a watermark detector on the ciphertext.<br>
413
+ β€’ Because of FHE, the server never sees the plaintext. Neither does it learn whether you text is
414
+ "watermarked" or "not watermarked."
415
+ </p>
416
+
417
+ <!-- 3 β€” Scope of the demo -->
418
+ <p class="explanation-text">
419
+ In this prototype we look for the
420
+ <a href="https://deepmind.google/science/synthid/" target="_blank">Google SynthID</a> watermark
421
+ as a real-world example.
422
+ <strong>No watermark</strong> simply means "no SynthID detected" β€” the text
423
+ might still be human-written or AI-generated without that specific mark.
424
+ </p>
425
  </div>
426
  </header>
427
 
wasm-demo.js CHANGED
@@ -505,10 +505,10 @@ $('btnDecrypt').onclick = () => {
505
  let resultText, resultClass;
506
 
507
  if (Number(flag) === 1) {
508
- resultText = 'βœ… AI-Generated (Watermarked)';
509
  resultClass = 'watermarked';
510
  } else {
511
- resultText = 'πŸ‘€ Human-Generated';
512
  resultClass = 'inconclusive';
513
  }
514
 
 
505
  let resultText, resultClass;
506
 
507
  if (Number(flag) === 1) {
508
+ resultText = 'βœ… Text is watermarked';
509
  resultClass = 'watermarked';
510
  } else {
511
+ resultText = '❌ Text is not watermarked';
512
  resultClass = 'inconclusive';
513
  }
514