Jerrycool commited on
Commit
af5437b
Β·
verified Β·
1 Parent(s): 9f8d602

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -18
app.py CHANGED
@@ -3,7 +3,7 @@ import pandas as pd
3
  from apscheduler.schedulers.background import BackgroundScheduler
4
 
5
  """###########################################################################
6
- MLE-Dojo Leaderboard (v2.2)
7
  β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
8
  A polished Gradio interface for viewing Elo scores across MLE‑Dojo benchmark
9
  categories.
@@ -25,9 +25,9 @@ try:
25
  from src.submission.submit import add_new_eval # Optional
26
  print("βœ“ Imported project‑local definitions from src.*")
27
  except ImportError:
28
- print("⚠ src.* imports failedΒ β€” using internal placeholders.")
29
  CITATION_BUTTON_LABEL = "Citation"
30
- CITATION_BUTTON_TEXT = "Please cite us if you use this benchmark …"
31
  INTRODUCTION_TEXT = "Welcome to the **MLE‑Dojo** benchmark leaderboard."
32
  LLM_BENCHMARKS_TEXT = "Further details about our evaluation suite."
33
  RAW_TITLE = None
@@ -98,18 +98,3 @@ body { font-family:'Inter',system-ui,Arial,sans-serif; background:#f9fafb; colo
98
  #leaderboard-table tr:nth-child(even) { background:#f9fafb; }
99
  #leaderboard-table tr:hover { background:#ecfeff; }
100
  #leaderboard-table td a { color:#2563eb; text-decoration:none; }
101
- #leaderboard-table td a:hover { text-decoration:underline; }
102
- .gr-accordion label { font-weight:600; }
103
- .gr-button { font-weight:500; padding:.55em 1.4em; }
104
- @media (max-width:480px){ .hero-title{font-size:2.25rem;} .subtitle{font-size:1rem;} }
105
- """
106
-
107
- custom_css = EXTRA_CSS + BASE_CSS
108
-
109
- # ──────────────────────────────────────────────────────────────────────────
110
- # 4️⃣ Build UI
111
- # ──────────────────────────────────────────────────────────────────────────
112
- demo = gr.Blocks(css=custom_css, theme=THEME)
113
-
114
- with demo:
115
- title_html = RAW_TITLE or "<h1 class='hero-title'>πŸ† M
 
3
  from apscheduler.schedulers.background import BackgroundScheduler
4
 
5
  """###########################################################################
6
+ MLE‑Dojo Leaderboard (v2.3)
7
  β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
8
  A polished Gradio interface for viewing Elo scores across MLE‑Dojo benchmark
9
  categories.
 
25
  from src.submission.submit import add_new_eval # Optional
26
  print("βœ“ Imported project‑local definitions from src.*")
27
  except ImportError:
28
+ print("⚠ src.* imports failed β€” using internal placeholders.")
29
  CITATION_BUTTON_LABEL = "Citation"
30
+ CITATION_BUTTON_TEXT = "Please cite us if you use this benchmark …"
31
  INTRODUCTION_TEXT = "Welcome to the **MLE‑Dojo** benchmark leaderboard."
32
  LLM_BENCHMARKS_TEXT = "Further details about our evaluation suite."
33
  RAW_TITLE = None
 
98
  #leaderboard-table tr:nth-child(even) { background:#f9fafb; }
99
  #leaderboard-table tr:hover { background:#ecfeff; }
100
  #leaderboard-table td a { color:#2563eb; text-decoration:none; }