fix(revert): dataset collection for now until we can get privacy and legal structures set up
#1
by
LPX55
- opened
- 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 |
-
|
| 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 |
-
|
| 608 |
-
|
| 609 |
-
|
| 610 |
-
|
| 611 |
-
|
| 612 |
-
|
| 613 |
-
) as scheduler:
|
| 614 |
-
|
|
|
|
| 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)
|