Update utils.py
Browse files
utils.py
CHANGED
@@ -79,10 +79,11 @@ def add_new_eval(
|
|
79 |
return "Error! Empty file!"
|
80 |
|
81 |
upload_data = json.loads(input_file)
|
|
|
82 |
data_row = [f'{upload_data["Model"]}', upload_data['Overall']]
|
83 |
for subject in SUBJECTS:
|
84 |
data_row += [upload_data[subject]]
|
85 |
-
|
86 |
submission_repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL,
|
87 |
use_auth_token=HF_TOKEN, repo_type="dataset")
|
88 |
submission_repo.git_pull()
|
|
|
79 |
return "Error! Empty file!"
|
80 |
|
81 |
upload_data = json.loads(input_file)
|
82 |
+
print("upload_data:\n", upload_data)
|
83 |
data_row = [f'{upload_data["Model"]}', upload_data['Overall']]
|
84 |
for subject in SUBJECTS:
|
85 |
data_row += [upload_data[subject]]
|
86 |
+
print("data_row:\n", data_row)
|
87 |
submission_repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL,
|
88 |
use_auth_token=HF_TOKEN, repo_type="dataset")
|
89 |
submission_repo.git_pull()
|