qiantong-xu commited on
Commit
e938cdf
1 Parent(s): 831acd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def get_baseline_df():
59
  for line in lines:
60
  model_results = parse_line(line)
61
  assert len(model_results) == 10
62
- avg = sum(model_results[1:-3] + model_results[-2:]) / 9
63
  model_results.insert(1, avg)
64
  model_results.insert(1, "False")
65
  df_data.append(model_results)
@@ -67,7 +67,7 @@ def get_baseline_df():
67
  for line in lines:
68
  model_results = parse_line(line)
69
  assert len(model_results) == 10
70
- avg = sum(model_results[1:-3] + model_results[-2:]) / 9
71
  model_results.insert(1, avg)
72
  model_results.insert(1, "True")
73
  df_data.append(model_results)
 
59
  for line in lines:
60
  model_results = parse_line(line)
61
  assert len(model_results) == 10
62
+ avg = sum(model_results[1:-3] + model_results[-2:]) / 8
63
  model_results.insert(1, avg)
64
  model_results.insert(1, "False")
65
  df_data.append(model_results)
 
67
  for line in lines:
68
  model_results = parse_line(line)
69
  assert len(model_results) == 10
70
+ avg = sum(model_results[1:-3] + model_results[-2:]) / 8
71
  model_results.insert(1, avg)
72
  model_results.insert(1, "True")
73
  df_data.append(model_results)