Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ all_version = ['20240602']
|
|
| 36 |
contact_infos = load_dataset(
|
| 37 |
CONTACT_DATASET,
|
| 38 |
token=TOKEN,
|
| 39 |
-
|
| 40 |
verification_mode="no_checks"
|
| 41 |
)
|
| 42 |
|
|
@@ -134,14 +134,6 @@ def add_new_eval(
|
|
| 134 |
|
| 135 |
print("Adding new eval")
|
| 136 |
|
| 137 |
-
Check if the
|
| 138 |
-
combination
|
| 139 |
-
model / org
|
| 140 |
-
already
|
| 141 |
-
exists and prints
|
| 142 |
-
a
|
| 143 |
-
warning
|
| 144 |
-
message if yes
|
| 145 |
if model.lower() in set(
|
| 146 |
[m.lower() for m in eval_results[dataset_version][val_or_test]["model"]]) and organisation.lower() in set(
|
| 147 |
[o.lower() for o in eval_results[dataset_version][val_or_test]["organisation"]]):
|
|
|
|
| 36 |
contact_infos = load_dataset(
|
| 37 |
CONTACT_DATASET,
|
| 38 |
token=TOKEN,
|
| 39 |
+
download_mode="force_redownload",
|
| 40 |
verification_mode="no_checks"
|
| 41 |
)
|
| 42 |
|
|
|
|
| 134 |
|
| 135 |
print("Adding new eval")
|
| 136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
if model.lower() in set(
|
| 138 |
[m.lower() for m in eval_results[dataset_version][val_or_test]["model"]]) and organisation.lower() in set(
|
| 139 |
[o.lower() for o in eval_results[dataset_version][val_or_test]["organisation"]]):
|