Skip to content
Snippets Groups Projects
Commit e473fbe3 authored by Manon Blanco's avatar Manon Blanco Committed by Mélodie
Browse files

Correctly typing parameters

parent 75c828f4
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ def add_predict_parser(subcommands) -> None:
image_or_folder_input = parser.add_mutually_exclusive_group(required=True)
image_or_folder_input.add_argument(
"--image",
type=pathlib.Path,
help="Path to the image to predict.",
)
image_or_folder_input.add_argument(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment