Spaces:
Sleeping
Sleeping
Commit
·
71ddcd2
1
Parent(s):
fa9ec9b
extended wait time
Browse files- validation.py +2 -2
validation.py
CHANGED
|
@@ -3,7 +3,7 @@ import traceback
|
|
| 3 |
import mlcroissant as mlc
|
| 4 |
import func_timeout
|
| 5 |
|
| 6 |
-
WAIT_TIME =
|
| 7 |
|
| 8 |
def validate_json(file_path):
|
| 9 |
"""Validate that the file is proper JSON."""
|
|
@@ -84,4 +84,4 @@ def generate_validation_report(filename, json_data, results):
|
|
| 84 |
report.append(json.dumps(json_data, indent=2))
|
| 85 |
report.append("```")
|
| 86 |
|
| 87 |
-
return "\n".join(report)
|
|
|
|
| 3 |
import mlcroissant as mlc
|
| 4 |
import func_timeout
|
| 5 |
|
| 6 |
+
WAIT_TIME = 10 * 60 # seconds
|
| 7 |
|
| 8 |
def validate_json(file_path):
|
| 9 |
"""Validate that the file is proper JSON."""
|
|
|
|
| 84 |
report.append(json.dumps(json_data, indent=2))
|
| 85 |
report.append("```")
|
| 86 |
|
| 87 |
+
return "\n".join(report)
|