From 1c33992b36e7a2b86d640d3a31478ce1a752426c Mon Sep 17 00:00:00 2001 From: finn <finn@hillengass.de> Date: Thu, 29 Feb 2024 19:24:31 +0100 Subject: [PATCH] Update argparse arguments in slot_accuracy.py --- metrics/slot_accuracy/slot_accuracy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics/slot_accuracy/slot_accuracy.py b/metrics/slot_accuracy/slot_accuracy.py index 0e794da..c2efd2c 100644 --- a/metrics/slot_accuracy/slot_accuracy.py +++ b/metrics/slot_accuracy/slot_accuracy.py @@ -104,7 +104,7 @@ def main(input_file, output_file): if __name__ == "__main__": parser = argparse.ArgumentParser(description="Calculate slot accuracy between domain knowledge and annotations.") - parser.add_argument("input_file", type=str, help="Path to the input CSV file.") - parser.add_argument("output_file", type=str, help="Path to the output CSV file.") + parser.add_argument("--input_file", type=str, help="Path to the input CSV file.") + parser.add_argument("--output_file", type=str, help="Path to the output CSV file.") args = parser.parse_args() main(args.input_file, args.output_file) -- GitLab