navidved commited on
Commit
5a5eb56
·
verified ·
1 Parent(s): 5a899de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,7 +7,7 @@ from utils_display import AutoEvalColumn, fields, make_clickable_model, styled_e
7
  from datetime import datetime, timezone
8
  import torch
9
 
10
- LAST_UPDATED = "OCT 2nd 2024"
11
 
12
  column_names = {
13
  "MODEL": "Model",
@@ -41,7 +41,7 @@ for col in original_df.columns:
41
  original_df[col] = original_df[col].apply(formatter)
42
 
43
  original_df.rename(columns=column_names, inplace=True)
44
- original_df.sort_values(by='WER ⬇️', inplace=True)
45
 
46
  COLS = [c.name for c in fields(AutoEvalColumn)]
47
  TYPES = [c.type for c in fields(AutoEvalColumn)]
@@ -121,7 +121,7 @@ def request_model(model_text):
121
  else:
122
  original_df[col] = original_df[col].apply(formatter)
123
  original_df.rename(columns=column_names, inplace=True)
124
- original_df.sort_values(by='Common Voice WER ⬇️', inplace=True)
125
 
126
  # Update the leaderboard table in the UI
127
  leaderboard_table.update(value=original_df)
 
7
  from datetime import datetime, timezone
8
  import torch
9
 
10
+ LAST_UPDATED = "OCT 21st 2024"
11
 
12
  column_names = {
13
  "MODEL": "Model",
 
41
  original_df[col] = original_df[col].apply(formatter)
42
 
43
  original_df.rename(columns=column_names, inplace=True)
44
+ original_df.sort_values(by='persian-asr-test-set WER', inplace=True)
45
 
46
  COLS = [c.name for c in fields(AutoEvalColumn)]
47
  TYPES = [c.type for c in fields(AutoEvalColumn)]
 
121
  else:
122
  original_df[col] = original_df[col].apply(formatter)
123
  original_df.rename(columns=column_names, inplace=True)
124
+ original_df.sort_values(by='persian-asr-test-set WER', inplace=True)
125
 
126
  # Update the leaderboard table in the UI
127
  leaderboard_table.update(value=original_df)