Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Merge requests
!187
Something went wrong on our end
Correctly typing parameters
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Correctly typing parameters
typing-prediction-parameters
into
main
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Manon Blanco
requested to merge
typing-prediction-parameters
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
210de96f
Show latest version
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
210de96f
Correctly typing parameters
· 210de96f
Manon Blanco
authored
1 year ago
dan/predict/__init__.py
+
1
−
0
Options
@@ -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