JKrishnanandhaa commited on
Commit
f73d7a8
·
verified ·
1 Parent(s): 5140d61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -348,7 +348,9 @@ with gr.Blocks(css=custom_css) as demo:
348
  gr.Markdown(
349
  """
350
  # 📄 Document Forgery Detection
351
- Upload a document image or PDF to detect and classify forgeries.
 
 
352
  """
353
  )
354
 
@@ -405,13 +407,13 @@ with gr.Blocks(css=custom_css) as demo:
405
  gr.HTML(
406
  """
407
  <div style='padding:12px; border:1px solid #444; border-radius:10px; background:var(--background-fill-primary);'>
408
- <p style='margin-top:0; margin-bottom:8px;'><b>Localization:</b> MobileNetV3-Small + UNet</p>
409
- <p style='margin:4px 0; font-size:0.9em;'>Dice: 62.12% | IoU: 45.06% | Precision: 70.77% | Recall: 55.36%</p>
410
 
411
- <p style='margin-top:12px; margin-bottom:8px;'><b>Classification:</b> LightGBM with 526 features</p>
412
- <p style='margin:4px 0; font-size:0.9em;'>Train Accuracy: 90.53% | Val Accuracy: 88.97%</p>
413
 
414
- <p style='margin-top:12px; margin-bottom:0;'><b>Training:</b> 140K samples from DocTamper dataset</p>
415
  </div>
416
  """
417
  )
 
348
  gr.Markdown(
349
  """
350
  # 📄 Document Forgery Detection
351
+ Upload a document image or PDF to detect and classify forgeries using deep learning. The system identifies Copy-Move, Splicing, and Text Substitution manipulations with precise localization and confidence scores.
352
+
353
+ ---
354
  """
355
  )
356
 
 
407
  gr.HTML(
408
  """
409
  <div style='padding:12px; border:1px solid #444; border-radius:10px; background:var(--background-fill-primary);'>
410
+ <p style='margin-top:0; margin-bottom:4px; font-size:1.05em;'><b>Localization:</b> MobileNetV3-Small + UNet</p>
411
+ <p style='margin:0 0 8px 0; font-size:0.9em; opacity:0.85;'>Dice: 62.12% | IoU: 45.06% | Precision: 70.77% | Recall: 55.36%</p>
412
 
413
+ <p style='margin-top:8px; margin-bottom:4px; font-size:1.05em;'><b>Classification:</b> LightGBM with 526 features</p>
414
+ <p style='margin:0 0 8px 0; font-size:0.9em; opacity:0.85;'>Train Accuracy: 90.53% | Val Accuracy: 88.97%</p>
415
 
416
+ <p style='margin-top:8px; margin-bottom:0; font-size:1.05em;'><b>Training:</b> 140K samples from DocTamper dataset</p>
417
  </div>
418
  """
419
  )