Spaces:
Running
Running
kexinhuang12345
commited on
Commit
·
d779781
1
Parent(s):
aae1219
fix upload bug
Browse files- src/submission/submit.py +3 -3
src/submission/submit.py
CHANGED
@@ -45,11 +45,11 @@ def add_new_eval(
|
|
45 |
if not REQUESTED_MODELS:
|
46 |
REQUESTED_MODELS, USERS_TO_SUBMISSION_DATES = already_submitted_models(EVAL_REQUESTS_PATH)
|
47 |
|
48 |
-
if task_track
|
49 |
task_type = 'nc'
|
50 |
-
elif task_track
|
51 |
task_type = 'nr'
|
52 |
-
elif task_track
|
53 |
task_type = 'lp'
|
54 |
|
55 |
model_path = model + '_' + task_type
|
|
|
45 |
if not REQUESTED_MODELS:
|
46 |
REQUESTED_MODELS, USERS_TO_SUBMISSION_DATES = already_submitted_models(EVAL_REQUESTS_PATH)
|
47 |
|
48 |
+
if task_track in ['Node Classification', 'Entity Classification']:
|
49 |
task_type = 'nc'
|
50 |
+
elif task_track in ['Node Regression', 'Entity Regression']:
|
51 |
task_type = 'nr'
|
52 |
+
elif task_track in ['Link Prediction', 'Recommendation']:
|
53 |
task_type = 'lp'
|
54 |
|
55 |
model_path = model + '_' + task_type
|