cgeorgiaw HF Staff commited on
Commit
8b38a76
·
1 Parent(s): be51a4e

still trying to make the leaderboard

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -32,6 +32,7 @@ def get_leaderboard():
32
 
33
  df.rename(columns={'submission_time': 'submission time', 'problem_type': 'problem type'}, inplace=True)
34
  df['user'] = df['user'].apply(lambda x: f'<a href="https://huggingface.co/{x}">{x}</a>')
 
35
 
36
  score_field = "score" if "score" in df.columns else "objective" # fallback
37
 
 
32
 
33
  df.rename(columns={'submission_time': 'submission time', 'problem_type': 'problem type'}, inplace=True)
34
  df['user'] = df['user'].apply(lambda x: f'<a href="https://huggingface.co/{x}">{x}</a>')
35
+ df = df.to_html(escape=False, render_links=True)
36
 
37
  score_field = "score" if "score" in df.columns else "objective" # fallback
38