LPX commited on
Commit
7cd1bf7
·
1 Parent(s): 6aeb8e6

refactor: comment out agent logs textbox and update tab titles in demo interface

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -678,17 +678,17 @@ demo = gr.TabbedInterface(
678
  ela_interface,
679
  gradient_processing_interface,
680
  minmax_processing_interface,
681
- gr.Textbox(label="Agent Logs", interactive=False, lines=5, max_lines=20, autoscroll=True) # New textbox for logs
682
  ],
683
  [
684
  "Run Ensemble Prediction",
685
- "Community Model",
686
  "Wavelet Blocking Noise Estimation",
687
  "Bit Plane Values",
688
  "Error Level Analysis (ELA)",
689
  "Gradient Processing",
690
  "MinMax Processing",
691
- "Agent Logs" # New tab title
692
  ],
693
  title="Deepfake Detection & Forensics Tools",
694
  theme=None,
@@ -696,7 +696,7 @@ demo = gr.TabbedInterface(
696
  )
697
 
698
  # Add live update for the logs textbox
699
- demo.load(get_captured_logs, None, demo.outputs[8], every=1)
700
 
701
  if __name__ == "__main__":
702
  demo.launch(mcp_server=True)
 
678
  ela_interface,
679
  gradient_processing_interface,
680
  minmax_processing_interface,
681
+ # gr.Textbox(label="Agent Logs", interactive=False, lines=5, max_lines=20, autoscroll=True) # New textbox for logs
682
  ],
683
  [
684
  "Run Ensemble Prediction",
685
+ "Open-Source SOTA Model",
686
  "Wavelet Blocking Noise Estimation",
687
  "Bit Plane Values",
688
  "Error Level Analysis (ELA)",
689
  "Gradient Processing",
690
  "MinMax Processing",
691
+ # "Agent Logs" # New tab title
692
  ],
693
  title="Deepfake Detection & Forensics Tools",
694
  theme=None,
 
696
  )
697
 
698
  # Add live update for the logs textbox
699
+ # demo.load(get_captured_logs, None, demo.outputs[8], every=1)
700
 
701
  if __name__ == "__main__":
702
  demo.launch(mcp_server=True)