CodeGoat24 commited on
Commit
df9d294
Β·
verified Β·
1 Parent(s): 1ea65d6

Update src/json_leaderboard.py

Browse files
Files changed (1) hide show
  1. src/json_leaderboard.py +1 -1
src/json_leaderboard.py CHANGED
@@ -43,7 +43,7 @@ def create_leaderboard_df(json_path="leaderboard_data.json"):
43
 
44
  # Format the DataFrame for display
45
  display_df = pd.DataFrame({
46
- 'Model': [add_ranking_icon_and_link(i, model, link) for i, (model, link) in enumerate(zip(df['model'], df['link']))],
47
  'Release Date': df['release_date'],
48
  'HF Model': df['hf'].apply(lambda x: f'<a href="{x}" target="_blank">πŸ€—</a>' if x != "-" else "-"),
49
  'Open Source': df['open_source'].apply(lambda x: 'βœ“' if x else 'βœ—'),
 
43
 
44
  # Format the DataFrame for display
45
  display_df = pd.DataFrame({
46
+ 'Model Name (clickable)': [add_ranking_icon_and_link(i, model, link) for i, (model, link) in enumerate(zip(df['model'], df['link']))],
47
  'Release Date': df['release_date'],
48
  'HF Model': df['hf'].apply(lambda x: f'<a href="{x}" target="_blank">πŸ€—</a>' if x != "-" else "-"),
49
  'Open Source': df['open_source'].apply(lambda x: 'βœ“' if x else 'βœ—'),