Skip to content

Commit 52713a8

Browse files
authored
Add flag options
1 parent d4d6ade commit 52713a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

validate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ def validate(gold_file: str, pred_file: str) -> list[str]:
8787
def main(
8888
predictions_file: Annotated[
8989
str,
90-
typer.Option(help="Path to the prediction file."),
90+
typer.Option("-p", help="Path to the prediction file."),
9191
],
9292
goldstandard_folder: Annotated[
9393
str,
9494
typer.Option(
95-
help="Path to the folder containing the goldstandard file.",
95+
"-g", help="Path to the folder containing the goldstandard file.",
9696
),
9797
],
9898
output_file: Annotated[
9999
str,
100-
typer.Option(help="Path to save the results JSON file."),
100+
typer.Option("-o", help="Path to save the results JSON file."),
101101
] = "results.json",
102102
):
103103
"""Validates the predictions file in preparation for evaluation."""

0 commit comments

Comments
 (0)