Update app.py
Browse files
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
|
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
|
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='
|
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)
|