fix(revert): dataset collection for now until we can get privacy and legal structures set up
#1
by LPX55 - opened
551 unmodified lines55255355455555655755855943 unmodified lines603604605606607608609610611612613614551 unmodified linesgr.Markdown(QUICK_INTRO)with gr.Tab("👑 Community Forensics Preview"):# temp_space = gr.load("aiwithoutborders-xyz/OpenSight-Community-Forensics-Preview", src="spaces")gr.Markdown("Community Forensics Preview coming soon!") # Placeholder for nowwith gr.Tab("🥇 Leaderboard"):gr.Markdown("# AI Generated / Deepfake Detection Models Leaderboard: Soon™")43 unmodified linesif __name__ == "__main__":# Initialize CommitScheduler# The scheduler will monitor LOCAL_LOG_DIR and push changes to HF_DATASET_NAMEwith CommitScheduler(repo_id=HF_DATASET_NAME, # Your Hugging Face dataset repository IDrepo_type="dataset",folder_path=LOCAL_LOG_DIR,every=5, # Commit every 5 minutesprivate=False, # Keep your dataset privatetoken=os.getenv("HF_TOKEN") # Uncomment and set if token is not saved globally) as scheduler:demo.launch(mcp_server=True)551 unmodified lines55255355455555655755855943 unmodified lines603604605606607608609610611612613614551 unmodified linesgr.Markdown(QUICK_INTRO)with gr.Tab("👑 Community Forensics Preview"):temp_space = gr.load("aiwithoutborders-xyz/OpenSight-Community-Forensics-Preview", src="spaces")# gr.Markdown("Community Forensics Preview coming soon!") # Placeholder for nowwith gr.Tab("🥇 Leaderboard"):gr.Markdown("# AI Generated / Deepfake Detection Models Leaderboard: Soon™")43 unmodified linesif __name__ == "__main__":# Initialize CommitScheduler# The scheduler will monitor LOCAL_LOG_DIR and push changes to HF_DATASET_NAME# with CommitScheduler(# repo_id=HF_DATASET_NAME, # Your Hugging Face dataset repository ID# repo_type="dataset",# folder_path=LOCAL_LOG_DIR,# every=5, # Commit every 5 minutes# private=False, # Keep your dataset private# token=os.getenv("HF_TOKEN") # Uncomment and set if token is not saved globally# ) as scheduler:demo.launch(mcp_server=True)
app_mcp.py+11-11