Skip to content

Commit

Permalink
Fix Path -> path
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbradley committed Aug 22, 2024
1 parent 92b1616 commit 2364e25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Options:
--k=K number of top predictions to show [default: 5]
--cls=CLS comma separated list of classes to predict, when specified the --rank and --k
arguments are not allowed
--cls-file CLS_FILE Path to file with list of classes to predict, one per line, when specified the --rank and --k arguments are not allowed
--cls-file CLS_FILE path to file with list of classes to predict, one per line, when specified the --rank and --k arguments are not allowed
--device=DEVICE device to use matrix math (cpu or cuda or mps) [default: cpu]
--output=OUTFILE print output to file OUTFILE [default: stdout]
```
Expand Down
2 changes: 1 addition & 1 deletion src/bioclip/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def create_parser():
predict_parser.add_argument('--k', type=int, help='number of top predictions to show, default: 5')
cls_group = predict_parser.add_mutually_exclusive_group(required=False)
cls_group.add_argument('--cls', help='comma separated list of classes to predict, when specified the --rank argument is not allowed')
cls_group.add_argument('--cls-file', help='Path to file with list of classes to predict, one per line, when specified the --rank and --k arguments are not allowed')
cls_group.add_argument('--cls-file', help='path to file with list of classes to predict, one per line, when specified the --rank and --k arguments are not allowed')
predict_parser.add_argument('--device', **device_arg)
predict_parser.add_argument('--model', **model_arg)
predict_parser.add_argument('--pretrained', **pretrained_arg)
Expand Down

0 comments on commit 2364e25

Please sign in to comment.