Commit 1d7de830 authored by baberabb's avatar baberabb
Browse files

typo: results is .json

parent decb55cd
......@@ -116,7 +116,7 @@ def main():
if args.output_path:
path = Path(args.output_path)
# check if file or 'dir/results.jsonl' exists
if path.is_file() or Path(args.output_path).joinpath("results.jsonl").is_file():
if path.is_file() or Path(args.output_path).joinpath("results.json").is_file():
eval_logger.warning(
f"File already exists at {path}. Results will be overwritten."
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment