ynhe commited on
Commit
0ea8496
1 Parent(s): f063aad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Total Score", ascending=False)
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="Total Score", ascending=False)
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):