boyiwei commited on
Commit
06b4546
·
1 Parent(s): 9b69b19
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def format_floats(x):
23
  def baseline_load_data(model, dataset, setting, criteria):
24
  file_path = f'versions/{model}_{dataset}_{setting}_{criteria}.csv' # Replace with your file paths
25
  df = pd.read_csv(file_path)
26
- # df = df.applymap(format_floats)
27
 
28
  # we only want specific columns and in a specific order
29
  if dataset == 'news':
 
23
  def baseline_load_data(model, dataset, setting, criteria):
24
  file_path = f'versions/{model}_{dataset}_{setting}_{criteria}.csv' # Replace with your file paths
25
  df = pd.read_csv(file_path)
26
+ df = df.applymap(format_floats)
27
 
28
  # we only want specific columns and in a specific order
29
  if dataset == 'news':