JKrishnanandhaa commited on
Commit
68a96f3
·
verified ·
1 Parent(s): e2f6fb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -9
app.py CHANGED
@@ -370,16 +370,22 @@ with gr.Blocks(css=custom_css) as demo:
370
  analyze_btn = gr.Button("🔍 Analyze", elem_classes="predict-btn")
371
 
372
  with gr.Column(scale=1):
373
- gr.Markdown(
374
  """
375
- **Supported formats:**
376
- - Images: JPG, PNG, BMP, TIFF, WebP
377
- - PDF: First page analyzed
378
-
379
- **Forgery types:**
380
- - Copy-Move: Duplicated regions
381
- - Splicing: Mixed sources
382
- - Text Substitution: Modified text
 
 
 
 
 
 
383
  """
384
  )
385
 
 
370
  analyze_btn = gr.Button("🔍 Analyze", elem_classes="predict-btn")
371
 
372
  with gr.Column(scale=1):
373
+ gr.HTML(
374
  """
375
+ <div style='padding:16px; border:1px solid #ccc; border-radius:8px; background:var(--background-fill-primary); height:100%;'>
376
+ <p style='margin-top:0;'><b>Supported formats:</b></p>
377
+ <ul style='margin:8px 0; padding-left:20px;'>
378
+ <li>Images: JPG, PNG, BMP, TIFF, WebP</li>
379
+ <li>PDF: First page analyzed</li>
380
+ </ul>
381
+
382
+ <p style='margin-bottom:4px;'><b>Forgery types:</b></p>
383
+ <ul style='margin:8px 0; padding-left:20px;'>
384
+ <li style='color:#d9534f;'><b>Copy-Move:</b> <span style='color:inherit;'>Duplicated regions</span></li>
385
+ <li style='color:#4169E1;'><b>Splicing:</b> <span style='color:inherit;'>Mixed sources</span></li>
386
+ <li style='color:#5cb85c;'><b>Text Substitution:</b> <span style='color:inherit;'>Modified text</span></li>
387
+ </ul>
388
+ </div>
389
  """
390
  )
391