[email protected] commited on
Commit
646e06c
·
1 Parent(s): 39c179a
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,7 +64,7 @@ def init_perf_plot(df):
64
  params_col = 'num_params'
65
  df["symbol"] = 2 # Triangle
66
  df["color"] = ""
67
- df.loc[df["model"].str.contains("granite"), "color"] = "grey"
68
  acc_col = 'failuresensor_mcqa_el'
69
  fig = go.Figure()
70
  for i in df.index:
@@ -72,7 +72,7 @@ def init_perf_plot(df):
72
  go.Scatter(
73
  x=[df.loc[i, params_col]],
74
  y=[df.loc[i, acc_col]],
75
- name=df.loc[i, "model"]
76
  )
77
  )
78
 
 
64
  params_col = 'num_params'
65
  df["symbol"] = 2 # Triangle
66
  df["color"] = ""
67
+ df.loc[df["Model"].str.contains("granite"), "color"] = "grey"
68
  acc_col = 'failuresensor_mcqa_el'
69
  fig = go.Figure()
70
  for i in df.index:
 
72
  go.Scatter(
73
  x=[df.loc[i, params_col]],
74
  y=[df.loc[i, acc_col]],
75
+ name=df.loc[i, "Model"]
76
  )
77
  )
78