Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def get_baseline_df():
|
|
111 |
submission_repo.git_pull()
|
112 |
df = pd.read_csv(CSV_DIR)
|
113 |
df = get_final_score(df, checkbox_group.value)
|
114 |
-
df = df.sort_values(by="
|
115 |
present_columns = MODEL_INFO + checkbox_group.value
|
116 |
df = df[present_columns]
|
117 |
df = convert_scores_to_percentage(df)
|
@@ -122,7 +122,7 @@ def get_all_df(selected_columns):
|
|
122 |
submission_repo.git_pull()
|
123 |
df = pd.read_csv(CSV_DIR)
|
124 |
df = get_final_score(df, selected_columns)
|
125 |
-
df = df.sort_values(by="
|
126 |
return df
|
127 |
|
128 |
def convert_scores_to_percentage(df):
|
|
|
111 |
submission_repo.git_pull()
|
112 |
df = pd.read_csv(CSV_DIR)
|
113 |
df = get_final_score(df, checkbox_group.value)
|
114 |
+
df = df.sort_values(by="Selected Score", ascending=False)
|
115 |
present_columns = MODEL_INFO + checkbox_group.value
|
116 |
df = df[present_columns]
|
117 |
df = convert_scores_to_percentage(df)
|
|
|
122 |
submission_repo.git_pull()
|
123 |
df = pd.read_csv(CSV_DIR)
|
124 |
df = get_final_score(df, selected_columns)
|
125 |
+
df = df.sort_values(by="Selected Score", ascending=False)
|
126 |
return df
|
127 |
|
128 |
def convert_scores_to_percentage(df):
|