Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
9ed4a11
1
Parent(s):
f07e3cf
Update app/leaderboard.py
Browse files- app/leaderboard.py +1 -1
app/leaderboard.py
CHANGED
@@ -29,7 +29,7 @@ def get_leaderboard(reveal_prelim = False, hide_battle_votes = False):
|
|
29 |
cursor.execute(sql)
|
30 |
data = cursor.fetchall()
|
31 |
df = pd.DataFrame(data, columns=['name', 'upvote', 'downvote'])
|
32 |
-
df['name'] = df['name'].replace(model_names)
|
33 |
df['votes'] = df['upvote'] + df['downvote']
|
34 |
|
35 |
# Filter out rows with insufficient votes if not revealing preliminary results
|
|
|
29 |
cursor.execute(sql)
|
30 |
data = cursor.fetchall()
|
31 |
df = pd.DataFrame(data, columns=['name', 'upvote', 'downvote'])
|
32 |
+
df['name'] = df['name'].replace(model_names).replace('Anonymous Sparkle', 'Fish Speech v1.5')
|
33 |
df['votes'] = df['upvote'] + df['downvote']
|
34 |
|
35 |
# Filter out rows with insufficient votes if not revealing preliminary results
|