Update app.py
Browse files
app.py
CHANGED
|
@@ -331,7 +331,7 @@ def add_new_eval(
|
|
| 331 |
if LOCAL_DEBUG:
|
| 332 |
print("mock uploaded results to lb")
|
| 333 |
else:
|
| 334 |
-
eval_results.push_to_hub(RESULTS_DATASET, config_name = YEAR_VERSION, token=TOKEN)
|
| 335 |
|
| 336 |
|
| 337 |
return format_log(f"Model {model} submitted by {organisation} successfully.\nPlease wait a few hours and refresh the leaderboard to see your score displayed.")
|
|
|
|
| 331 |
if LOCAL_DEBUG:
|
| 332 |
print("mock uploaded results to lb")
|
| 333 |
else:
|
| 334 |
+
eval_results[val_or_test].push_to_hub(RESULTS_DATASET, config_name = YEAR_VERSION, token=TOKEN)
|
| 335 |
|
| 336 |
|
| 337 |
return format_log(f"Model {model} submitted by {organisation} successfully.\nPlease wait a few hours and refresh the leaderboard to see your score displayed.")
|