Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from init import is_model_on_hub, upload_file, load_all_info_from_dataset_hub
|
|
6 |
from utils_display import AutoEvalColumn, fields, make_clickable_model, styled_error, styled_message
|
7 |
from datetime import datetime, timezone
|
8 |
|
9 |
-
LAST_UPDATED = "
|
10 |
|
11 |
column_names = {
|
12 |
"MODEL": "Model",
|
@@ -32,7 +32,7 @@ original_df = pd.read_csv(csv_results)
|
|
32 |
|
33 |
# Formats the columns
|
34 |
def formatter(x):
|
35 |
-
if type(x)
|
36 |
x = x
|
37 |
else:
|
38 |
x = round(x, 2)
|
|
|
6 |
from utils_display import AutoEvalColumn, fields, make_clickable_model, styled_error, styled_message
|
7 |
from datetime import datetime, timezone
|
8 |
|
9 |
+
LAST_UPDATED = "Feb 8th 2024"
|
10 |
|
11 |
column_names = {
|
12 |
"MODEL": "Model",
|
|
|
32 |
|
33 |
# Formats the columns
|
34 |
def formatter(x):
|
35 |
+
if type(x) is str:
|
36 |
x = x
|
37 |
else:
|
38 |
x = round(x, 2)
|