eduagarcia commited on
Commit
f3a1876
1 Parent(s): 8aaf0e7

submit ident json

Browse files
Files changed (1) hide show
  1. src/submission/submit.py +2 -2
src/submission/submit.py CHANGED
@@ -141,8 +141,8 @@ def add_new_eval(
141
  os.makedirs(OUT_DIR, exist_ok=True)
142
  out_path = f"{OUT_DIR}/{model_path}_eval_request_{private}_{precision}_{weight_type}.json"
143
 
144
- with open(out_path, "w") as f:
145
- f.write(json.dumps(eval_entry))
146
 
147
  print("Uploading eval file")
148
  API.upload_file(
 
141
  os.makedirs(OUT_DIR, exist_ok=True)
142
  out_path = f"{OUT_DIR}/{model_path}_eval_request_{private}_{precision}_{weight_type}.json"
143
 
144
+ with open(out_path, "w", encoding="utf-8") as f:
145
+ json.dump(eval_entry, f, i, indent=4, ensure_ascii=False)
146
 
147
  print("Uploading eval file")
148
  API.upload_file(