Taejin commited on
Commit
cb924f4
1 Parent(s): c287955

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,11 +38,11 @@ def save_json_file(filepath, data_dict):
38
  json.dump(data_dict, outfile)
39
 
40
  os.makedirs("scored", exist_ok=True)
41
-
42
  results_data_files = {"dev": "dev_set_data.csv", "eval": "eval_set_data.csv"}
43
  results = load_dataset(RESULTS_DATASET, data_files=results_data_files, token=TOKEN, download_mode="force_redownload", ignore_verifications=True)
44
 
45
-
46
  ref_json_files = {"dev_src": "err_dev.src.seglst.json", "dev_ref": "err_dev.ref.seglst.json", "eval_src": "err_eval.src.seglst.json", "eval_ref": "err_eval.ref.seglst.json"}
47
  ref_jsons = load_dataset(REF_JSONS_SET, data_files=ref_json_files, token=TOKEN, download_mode="force_redownload", ignore_verifications=True)
48
 
 
38
  json.dump(data_dict, outfile)
39
 
40
  os.makedirs("scored", exist_ok=True)
41
+ print(f"Token loaded-1 : {TOKEN}")
42
  results_data_files = {"dev": "dev_set_data.csv", "eval": "eval_set_data.csv"}
43
  results = load_dataset(RESULTS_DATASET, data_files=results_data_files, token=TOKEN, download_mode="force_redownload", ignore_verifications=True)
44
 
45
+ print(f"Token loaded-2 : {TOKEN}")
46
  ref_json_files = {"dev_src": "err_dev.src.seglst.json", "dev_ref": "err_dev.ref.seglst.json", "eval_src": "err_eval.src.seglst.json", "eval_ref": "err_eval.ref.seglst.json"}
47
  ref_jsons = load_dataset(REF_JSONS_SET, data_files=ref_json_files, token=TOKEN, download_mode="force_redownload", ignore_verifications=True)
48