LPX55 commited on
Commit
4904b3d
·
verified ·
1 Parent(s): 0457419

fix(revert): dataset collection for now until we can get privacy and legal structures set up

Browse files
Files changed (1) hide show
  1. app_mcp.py +11 -11
app_mcp.py CHANGED
@@ -552,8 +552,8 @@ with gr.Blocks(css="#post-gallery { overflow: hidden !important;} .grid-wrap{ ov
552
  gr.Markdown(QUICK_INTRO)
553
 
554
  with gr.Tab("👑 Community Forensics Preview"):
555
- # temp_space = gr.load("aiwithoutborders-xyz/OpenSight-Community-Forensics-Preview", src="spaces")
556
- gr.Markdown("Community Forensics Preview coming soon!") # Placeholder for now
557
  with gr.Tab("🥇 Leaderboard"):
558
  gr.Markdown("# AI Generated / Deepfake Detection Models Leaderboard: Soon™")
559
 
@@ -603,12 +603,12 @@ with gr.Blocks(css="#post-gallery { overflow: hidden !important;} .grid-wrap{ ov
603
  if __name__ == "__main__":
604
  # Initialize CommitScheduler
605
  # The scheduler will monitor LOCAL_LOG_DIR and push changes to HF_DATASET_NAME
606
- with CommitScheduler(
607
- repo_id=HF_DATASET_NAME, # Your Hugging Face dataset repository ID
608
- repo_type="dataset",
609
- folder_path=LOCAL_LOG_DIR,
610
- every=5, # Commit every 5 minutes
611
- private=False, # Keep your dataset private
612
- token=os.getenv("HF_TOKEN") # Uncomment and set if token is not saved globally
613
- ) as scheduler:
614
- demo.launch(mcp_server=True)
 
552
  gr.Markdown(QUICK_INTRO)
553
 
554
  with gr.Tab("👑 Community Forensics Preview"):
555
+ temp_space = gr.load("aiwithoutborders-xyz/OpenSight-Community-Forensics-Preview", src="spaces")
556
+ # gr.Markdown("Community Forensics Preview coming soon!") # Placeholder for now
557
  with gr.Tab("🥇 Leaderboard"):
558
  gr.Markdown("# AI Generated / Deepfake Detection Models Leaderboard: Soon™")
559
 
 
603
  if __name__ == "__main__":
604
  # Initialize CommitScheduler
605
  # The scheduler will monitor LOCAL_LOG_DIR and push changes to HF_DATASET_NAME
606
+ # with CommitScheduler(
607
+ # repo_id=HF_DATASET_NAME, # Your Hugging Face dataset repository ID
608
+ # repo_type="dataset",
609
+ # folder_path=LOCAL_LOG_DIR,
610
+ # every=5, # Commit every 5 minutes
611
+ # private=False, # Keep your dataset private
612
+ # token=os.getenv("HF_TOKEN") # Uncomment and set if token is not saved globally
613
+ # ) as scheduler:
614
+ demo.launch(mcp_server=True)