JVice commited on
Commit
2947944
·
verified ·
1 Parent(s): ed239ae

trying fix with snapshot download

Browse files
Files changed (1) hide show
  1. model_comparison.py +2 -0
model_comparison.py CHANGED
@@ -104,6 +104,7 @@ def initialise_page(tab):
104
  communityGEN = st.form_submit_button("TBYB Community Evaluations")
105
  if communityGEN:
106
  databaseDF = None
 
107
  databaseDF = add_user_evalID_columns_to_df(databaseDF, GEN_EVAL_DATABASE_PATH)[["Eval. ID", "Model", "Model Type", "Resolution", "No. Samples", "Inference Steps",
108
  "Objects", "Actions", "Occupations", "Dist. Bias", "Hallucination", "Gen. Miss Rate",
109
  "Run Time", "Date", "Time"]]
@@ -113,6 +114,7 @@ def initialise_page(tab):
113
  communityTASK = st.form_submit_button("TBYB Community Evaluations")
114
  if communityTASK:
115
  databaseDF = None
 
116
  databaseDF = add_user_evalID_columns_to_df(databaseDF, TASK_EVAL_DATABASE_PATH)[["Eval. ID", "Model", "Model Type", "Resolution", "No. Samples", "Inference Steps",
117
  "Target", "Dist. Bias", "Hallucination", "Gen. Miss Rate", "Run Time", "Date", "Time"]]
118
  if databaseDF is not None:
 
104
  communityGEN = st.form_submit_button("TBYB Community Evaluations")
105
  if communityGEN:
106
  databaseDF = None
107
+ snapshot_download(repo_id="JVice/try-before-you-bias-data",local_dir = './data')
108
  databaseDF = add_user_evalID_columns_to_df(databaseDF, GEN_EVAL_DATABASE_PATH)[["Eval. ID", "Model", "Model Type", "Resolution", "No. Samples", "Inference Steps",
109
  "Objects", "Actions", "Occupations", "Dist. Bias", "Hallucination", "Gen. Miss Rate",
110
  "Run Time", "Date", "Time"]]
 
114
  communityTASK = st.form_submit_button("TBYB Community Evaluations")
115
  if communityTASK:
116
  databaseDF = None
117
+ snapshot_download(repo_id="JVice/try-before-you-bias-data",local_dir = './data')
118
  databaseDF = add_user_evalID_columns_to_df(databaseDF, TASK_EVAL_DATABASE_PATH)[["Eval. ID", "Model", "Model Type", "Resolution", "No. Samples", "Inference Steps",
119
  "Target", "Dist. Bias", "Hallucination", "Gen. Miss Rate", "Run Time", "Date", "Time"]]
120
  if databaseDF is not None: