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