Spaces:
Running
on
Zero
Running
on
Zero
link to rejections fix
Browse files- app/leaderboard.py +1 -1
app/leaderboard.py
CHANGED
@@ -64,7 +64,7 @@ def get_leaderboard(reveal_prelim = False):
|
|
64 |
# show all rejections when model is unavailable
|
65 |
dataset_name = 'rejections_all'
|
66 |
title += ' (all)'
|
67 |
-
href = 'https://huggingface.co/datasets/{DB_DATASET_ID}/viewer/summary/{dataset_name}
|
68 |
# win rate dataset
|
69 |
df.at[i, 'Win Rate'] = f'<a target="_blank" style="{style}" title="{title}" href="{href}">' + df['Win Rate'].iloc[i] + '</a>'
|
70 |
df['Elo'] = round(df['Elo'])
|
|
|
64 |
# show all rejections when model is unavailable
|
65 |
dataset_name = 'rejections_all'
|
66 |
title += ' (all)'
|
67 |
+
href = f'https://huggingface.co/datasets/{DB_DATASET_ID}/viewer/summary/{dataset_name}?f[rejected][value]=%27{orig_name}%27'
|
68 |
# win rate dataset
|
69 |
df.at[i, 'Win Rate'] = f'<a target="_blank" style="{style}" title="{title}" href="{href}">' + df['Win Rate'].iloc[i] + '</a>'
|
70 |
df['Elo'] = round(df['Elo'])
|