Spaces:
Running
Running
| import json | |
| def generate_report(results, path="output/report.json"): | |
| with open(path, "w") as f: | |
| json.dump(results, f, indent=4) | |
| import json | |
| def generate_report(results, path="output/report.json"): | |
| with open(path, "w") as f: | |
| json.dump(results, f, indent=4) | |