AhmadXGaballah commited on
Commit
21fd184
·
verified ·
1 Parent(s): 37642e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -620,12 +620,12 @@ def run_diagnostics():
620
  return "\n".join(lines)
621
 
622
  with gr.Blocks(css=THEME_CSS, fill_height=True) as demo:
623
- gr.HTML("<h1 class='neon-title' style='font-size:42px;margin:8px 0;'>AEGIS FactCheck</h1><p style='opacity:.75;margin:-6px 0 18px;'>Receipts or it didn’t happen — evidence-backed verification for video claims.</p>")
624
 
625
  with gr.Tab("Manual Claims"):
626
  with gr.Row():
627
  with gr.Column(scale=1):
628
- claims_box = gr.Textbox(label="Claims (one per line)", lines=8, placeholder="e.g. WHO approved mRNA vaccines in 2020", elem_classes=["glass"])
629
  with gr.Row():
630
  use_web = gr.Checkbox(value=True, label="Use Web retrieval")
631
  use_wiki = gr.Checkbox(value=True, label="Use Wikipedia")
@@ -660,9 +660,6 @@ with gr.Blocks(css=THEME_CSS, fill_height=True) as demo:
660
  inputs=[video_upload, video_url, whisper_model, asr_language, ocr_langs, fps, max_ocr_images],
661
  outputs=[asr_out, ocr_out, agg_out, sugg_out, to_manual])
662
 
663
- with gr.Tab("Diagnostics"):
664
- diag_btn = gr.Button("Run Environment Checks", elem_classes=["neon-btn"])
665
- diag_out = gr.Textbox(label="Diagnostics", lines=24, elem_classes=["glass"])
666
- diag_btn.click(run_diagnostics, inputs=[], outputs=[diag_out])
667
 
668
  demo.launch()
 
620
  return "\n".join(lines)
621
 
622
  with gr.Blocks(css=THEME_CSS, fill_height=True) as demo:
623
+ gr.HTML("<h1 class='neon-title' style='font-size:42px;margin:8px 0;'>Claim Checker</h1><p style='opacity:.75;margin:-6px 0 18px;'>Make every claim earn its proof.</p>")
624
 
625
  with gr.Tab("Manual Claims"):
626
  with gr.Row():
627
  with gr.Column(scale=1):
628
+ claims_box = gr.Textbox(label="Claims (one per line)", lines=8, placeholder="e.g. 5G towers caused COVID-19", elem_classes=["glass"])
629
  with gr.Row():
630
  use_web = gr.Checkbox(value=True, label="Use Web retrieval")
631
  use_wiki = gr.Checkbox(value=True, label="Use Wikipedia")
 
660
  inputs=[video_upload, video_url, whisper_model, asr_language, ocr_langs, fps, max_ocr_images],
661
  outputs=[asr_out, ocr_out, agg_out, sugg_out, to_manual])
662
 
663
+
 
 
 
664
 
665
  demo.launch()