Pratyush Maini commited on
Commit
a967188
·
1 Parent(s): 693b8b0
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -62,6 +62,7 @@ def load_data(model, version, metrics):
62
  baseline_df = baseline_load_data(model, version, metrics)
63
  # now for every file in "versions/{model}-{version}/*.csv"
64
  # if file name is not "model-version.csv", load the file and append it to the dataframe
 
65
  for file in os.listdir(f'versions/{model}-{version}'):
66
  if file == f"{model}-{version}.csv":
67
  continue
 
62
  baseline_df = baseline_load_data(model, version, metrics)
63
  # now for every file in "versions/{model}-{version}/*.csv"
64
  # if file name is not "model-version.csv", load the file and append it to the dataframe
65
+ version = version.replace("%", "p")
66
  for file in os.listdir(f'versions/{model}-{version}'):
67
  if file == f"{model}-{version}.csv":
68
  continue