DontPlanToEnd
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ custom_css = """
|
|
63 |
"""
|
64 |
|
65 |
# Define the columns for the different leaderboards
|
66 |
-
UGI_COLS = ['#P', 'Model', 'UGI π', 'W/10 π', 'I/10
|
67 |
WRITING_STYLE_COLS = ['#P', 'Model', 'Reg+MyScore π', 'Reg+Int π', 'MyScore π', 'ASSSβ¬οΈ', 'SMOGβ¬οΈ', 'Yuleβ¬οΈ']
|
68 |
ANIME_RATING_COLS = ['#P', 'Model', 'Score π', 'Dif', 'Cor', 'Std']
|
69 |
ADDITIONAL_COLS = ['Release Date', 'Date Added', 'Active Params', 'Total Params']
|
@@ -101,8 +101,8 @@ def load_leaderboard_data(csv_file_path):
|
|
101 |
# Round the W/10 column to 1 decimal place and I/10 to 2 decimal places
|
102 |
if 'W/10 π' in df.columns:
|
103 |
df['W/10 π'] = df['W/10 π'].round(1)
|
104 |
-
if 'I/10
|
105 |
-
df['I/10
|
106 |
|
107 |
return df
|
108 |
except Exception as e:
|
|
|
63 |
"""
|
64 |
|
65 |
# Define the columns for the different leaderboards
|
66 |
+
UGI_COLS = ['#P', 'Model', 'UGI π', 'W/10 π', 'I/10 π', 'Unruly', 'Internet', 'Stats', 'Writing', 'PolContro']
|
67 |
WRITING_STYLE_COLS = ['#P', 'Model', 'Reg+MyScore π', 'Reg+Int π', 'MyScore π', 'ASSSβ¬οΈ', 'SMOGβ¬οΈ', 'Yuleβ¬οΈ']
|
68 |
ANIME_RATING_COLS = ['#P', 'Model', 'Score π', 'Dif', 'Cor', 'Std']
|
69 |
ADDITIONAL_COLS = ['Release Date', 'Date Added', 'Active Params', 'Total Params']
|
|
|
101 |
# Round the W/10 column to 1 decimal place and I/10 to 2 decimal places
|
102 |
if 'W/10 π' in df.columns:
|
103 |
df['W/10 π'] = df['W/10 π'].round(1)
|
104 |
+
if 'I/10 π' in df.columns:
|
105 |
+
df['I/10 π'] = df['I/10 π'].round(2)
|
106 |
|
107 |
return df
|
108 |
except Exception as e:
|