reach-vb HF staff commited on
Commit
fef82f3
1 Parent(s): e7d7265

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "Sep 7th 2023"
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) == "str":
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)