Unverified Commit 9e209949 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Update main.py

parent 1d7de830
......@@ -115,7 +115,7 @@ def main():
if args.output_path:
path = Path(args.output_path)
# check if file or 'dir/results.jsonl' exists
# 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