Skip to content
Snippets Groups Projects

Correctly typing parameters

Merged Manon Blanco requested to merge typing-prediction-parameters into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -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(
Loading