zhiminy commited on
Commit
711093a
Β·
1 Parent(s): 8167845
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1564,8 +1564,6 @@ def load_agents_from_hf():
1564
  # Filter for JSON files only
1565
  json_files = [f for f in files if f.endswith('.json')]
1566
 
1567
- print(f"Found {len(json_files)} agent files in {AGENTS_REPO}")
1568
-
1569
  # Download and parse each JSON file
1570
  for json_file in json_files:
1571
  try:
@@ -2148,7 +2146,11 @@ scheduler.add_job(
2148
  replace_existing=True
2149
  )
2150
  scheduler.start()
2151
- print(f"βœ“ Scheduler started: Incremental Update at 12:00 AM UTC every Monday (updates existing metadata + mines last {UPDATE_TIME_FRAME_DAYS} days of reviews)")
 
 
 
 
2152
 
2153
  # Create Gradio interface
2154
  with gr.Blocks(title="SWE Agent Review Leaderboard", theme=gr.themes.Soft()) as app:
 
1564
  # Filter for JSON files only
1565
  json_files = [f for f in files if f.endswith('.json')]
1566
 
 
 
1567
  # Download and parse each JSON file
1568
  for json_file in json_files:
1569
  try:
 
2146
  replace_existing=True
2147
  )
2148
  scheduler.start()
2149
+ print(f"\n{'='*80}")
2150
+ print(f"βœ“ Scheduler initialized successfully")
2151
+ print(f"⛏️ Mining schedule: Every Monday at 12:00 AM UTC")
2152
+ print(f"πŸ“₯ On startup: Only loads cached data from HuggingFace (no mining)")
2153
+ print(f"{'='*80}\n")
2154
 
2155
  # Create Gradio interface
2156
  with gr.Blocks(title="SWE Agent Review Leaderboard", theme=gr.themes.Soft()) as app: