upadte
Browse files
app.py
CHANGED
@@ -72,7 +72,11 @@ def build_main_table(data):
|
|
72 |
lambda x: 'Yes' if models_data[x]['release'] == 'OpenSource' else 'No'
|
73 |
)
|
74 |
|
|
|
|
|
|
|
75 |
columns = {
|
|
|
76 |
'model': 'Model',
|
77 |
'org': 'Organization',
|
78 |
'num': 'Parameters',
|
|
|
72 |
lambda x: 'Yes' if models_data[x]['release'] == 'OpenSource' else 'No'
|
73 |
)
|
74 |
|
75 |
+
# Add Rank column based on Average Score
|
76 |
+
df['Rank'] = df['Average'].rank(ascending=False, method='min').astype(int)
|
77 |
+
|
78 |
columns = {
|
79 |
+
'Rank': 'Rank',
|
80 |
'model': 'Model',
|
81 |
'org': 'Organization',
|
82 |
'num': 'Parameters',
|