hsaest commited on
Commit
094f504
1 Parent(s): b04c02d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -39,6 +39,7 @@ def get_dataframe_from_results(eval_results, split, mode):
39
  local_df = eval_results[f'{split}_{mode}']
40
  local_df = local_df.remove_columns(["Mail"])
41
  df = pd.DataFrame(local_df)
 
42
  df = df.sort_values(by=["Final Pass Rate"], ascending=False)
43
  numeric_cols = [c for c in local_df.column_names if "Rate" in c]
44
  df[numeric_cols] = df[numeric_cols].multiply(100).round(decimals=2)
 
39
  local_df = eval_results[f'{split}_{mode}']
40
  local_df = local_df.remove_columns(["Mail"])
41
  df = pd.DataFrame(local_df)
42
+ df['Organization'].mask(df['Organization']=='TravelBench Team','TravelPlanner Team',inplace=True)
43
  df = df.sort_values(by=["Final Pass Rate"], ascending=False)
44
  numeric_cols = [c for c in local_df.column_names if "Rate" in c]
45
  df[numeric_cols] = df[numeric_cols].multiply(100).round(decimals=2)