Spaces:
Runtime error
Runtime error
add indent
Browse files- src/submission/submit.py +1 -1
src/submission/submit.py
CHANGED
|
@@ -100,7 +100,7 @@ def add_new_eval(
|
|
| 100 |
out_path = f"{OUT_DIR}/{model_path}_eval_request_False_{precision}_{weight_type}.json"
|
| 101 |
|
| 102 |
with open(out_path, "w") as f:
|
| 103 |
-
f.write(json.dumps(eval_entry))
|
| 104 |
|
| 105 |
print("Uploading eval file")
|
| 106 |
API.upload_file(
|
|
|
|
| 100 |
out_path = f"{OUT_DIR}/{model_path}_eval_request_False_{precision}_{weight_type}.json"
|
| 101 |
|
| 102 |
with open(out_path, "w") as f:
|
| 103 |
+
f.write(json.dumps(eval_entry, indent=2))
|
| 104 |
|
| 105 |
print("Uploading eval file")
|
| 106 |
API.upload_file(
|