djstrong commited on
Commit
2699972
1 Parent(s): ea6148c
Files changed (2) hide show
  1. app.py +2 -2
  2. src/about.py +9 -1
app.py CHANGED
@@ -58,7 +58,6 @@ except Exception:
58
 
59
  raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
60
  leaderboard_df = original_df.copy()
61
- leaderboard_df.style.background_gradient(cmap="viridis")
62
 
63
  (
64
  finished_eval_queue_df,
@@ -216,9 +215,10 @@ with demo:
216
  interactive=True,
217
  )
218
 
 
219
 
220
  leaderboard_table = gr.components.Dataframe(
221
- value=leaderboard_df[
222
  [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
223
  + shown_columns.value
224
  + [AutoEvalColumn.dummy.name]
 
58
 
59
  raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
60
  leaderboard_df = original_df.copy()
 
61
 
62
  (
63
  finished_eval_queue_df,
 
215
  interactive=True,
216
  )
217
 
218
+ leaderboard_df_styled = leaderboard_df.style.background_gradient(cmap="viridis")
219
 
220
  leaderboard_table = gr.components.Dataframe(
221
+ value=leaderboard_df_styled[
222
  [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
223
  + shown_columns.value
224
  + [AutoEvalColumn.dummy.name]
src/about.py CHANGED
@@ -37,7 +37,15 @@ NUM_FEWSHOT = 0 # Change with your few shot
37
 
38
 
39
  # Your leaderboard name
40
- TITLE = """<h1 align="center" id="space-title">Open PL LLM Leaderboard (0-shot and 5-shot)</h1>"""
 
 
 
 
 
 
 
 
41
 
42
  # What does your leaderboard evaluate?
43
  INTRODUCTION_TEXT = """
 
37
 
38
 
39
  # Your leaderboard name
40
+ TITLE = """
41
+ <div style="display: flex; flex-wrap: wrap; justify-content: space-around;">
42
+ <img src="https://speakleash.org/wp-content/uploads/2023/09/SpeakLeash_logo.svg">
43
+ <div>
44
+ <h1 align="center" id="space-title">Open PL LLM Leaderboard (0-shot and 5-shot)</h1>
45
+ <h2 align="center" id="space-subtitle">Leaderboard was created as part of an open-science project SpeakLeash.org</h2>
46
+ </div>
47
+ </div>
48
+ """
49
 
50
  # What does your leaderboard evaluate?
51
  INTRODUCTION_TEXT = """