Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ YEAR_VERSION = "2024"
|
|
33 |
os.makedirs("scored", exist_ok=True)
|
34 |
|
35 |
# # Display the results
|
36 |
-
eval_results = load_dataset(EVAL_DATASET, 'scores', token=TOKEN, download_mode="force_redownload")
|
37 |
def get_dataframe_from_results(eval_results, split):
|
38 |
local_df = eval_results[split]
|
39 |
local_df = local_df.remove_columns(["Mail"])
|
@@ -129,7 +129,7 @@ def add_new_eval(
|
|
129 |
|
130 |
|
131 |
def refresh():
|
132 |
-
eval_results = load_dataset(EVAL_DATASET, 'scores', token=TOKEN, download_mode="force_redownload")
|
133 |
eval_dataframe_val = get_dataframe_from_results(eval_results=eval_results, split="validation")
|
134 |
eval_dataframe_test = get_dataframe_from_results(eval_results=eval_results, split="test")
|
135 |
return eval_dataframe_val, eval_dataframe_test
|
|
|
33 |
os.makedirs("scored", exist_ok=True)
|
34 |
|
35 |
# # Display the results
|
36 |
+
eval_results = load_dataset(EVAL_DATASET, 'scores', token=TOKEN, download_mode="force_redownload", ignore_verifications=True)
|
37 |
def get_dataframe_from_results(eval_results, split):
|
38 |
local_df = eval_results[split]
|
39 |
local_df = local_df.remove_columns(["Mail"])
|
|
|
129 |
|
130 |
|
131 |
def refresh():
|
132 |
+
eval_results = load_dataset(EVAL_DATASET, 'scores', token=TOKEN, download_mode="force_redownload", ignore_verifications=True)
|
133 |
eval_dataframe_val = get_dataframe_from_results(eval_results=eval_results, split="validation")
|
134 |
eval_dataframe_test = get_dataframe_from_results(eval_results=eval_results, split="test")
|
135 |
return eval_dataframe_val, eval_dataframe_test
|