diff --git a/src/unitxt/artifact.py b/src/unitxt/artifact.py index 39b6013e7..70486d610 100644 --- a/src/unitxt/artifact.py +++ b/src/unitxt/artifact.py @@ -474,7 +474,7 @@ def maybe_artifact_object_to_dict(obj): return obj.__id__ return obj - return json.dumps(source, default=maybe_artifact_object_to_dict) + return json.dumps(source, default=maybe_artifact_object_to_dict, indent=4) def maybe_artifact_dict_to_object(d):