Me1oy commited on
Commit
e000c61
1 Parent(s): ada4b04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def create_df_dict(lang, lang_cols):
47
  leaderboard_df = pd.read_csv(f"{lang}_result.csv", names=lang_cols)
48
  # leaderboard_df = leaderboard_df.sort_index(axis=1)
49
  # Move 'key' column to the front
50
- leaderboard_df = leaderboard_df[["Model"] + [col for col in leaderboard_df.columns if col != "Model"]]
51
  cols = leaderboard_df.columns
52
  types = ["str"] + ["number"] * (len(lang_cols) - 1)
53
 
 
47
  leaderboard_df = pd.read_csv(f"{lang}_result.csv", names=lang_cols)
48
  # leaderboard_df = leaderboard_df.sort_index(axis=1)
49
  # Move 'key' column to the front
50
+ leaderboard_df = leaderboard_df[["Team"] + [col for col in leaderboard_df.columns if col != "Team"]]
51
  cols = leaderboard_df.columns
52
  types = ["str"] + ["number"] * (len(lang_cols) - 1)
53