Update src/json_leaderboard.py
Browse files- 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 'β'),
|