Unverified Commit 50e1ed40 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Merge pull request #687 from baberabb/big-refactor_output

[Refactor] typo
parents 3cd3921f 9e209949
......@@ -115,8 +115,8 @@ 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():
# check if file or 'dir/results.json' exists
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