JVice commited on
Commit
b04035d
·
verified ·
1 Parent(s): 23d55c6

Update model_comparison.py

Browse files
Files changed (1) hide show
  1. model_comparison.py +1 -0
model_comparison.py CHANGED
@@ -78,6 +78,7 @@ def add_user_evalID_columns_to_df(df, evalDataPath):
78
  # with open(evalDataPath, 'r') as f:
79
  # yamlData = safe_load(f)
80
  yamlData = hf_hub_download(repo_id="JVice/try-before-you-bias-data", filename=evalDataPath, repo_type="dataset")
 
81
  for user in yamlData['evaluations']['username']:
82
  if df is None:
83
  df = pd.DataFrame(yamlData['evaluations']['username'][user]).T
 
78
  # with open(evalDataPath, 'r') as f:
79
  # yamlData = safe_load(f)
80
  yamlData = hf_hub_download(repo_id="JVice/try-before-you-bias-data", filename=evalDataPath, repo_type="dataset")
81
+ st.write(yamlData)
82
  for user in yamlData['evaluations']['username']:
83
  if df is None:
84
  df = pd.DataFrame(yamlData['evaluations']['username'][user]).T