Skip to content

Commit

Permalink
Add asr to CLI option
Browse files Browse the repository at this point in the history
  • Loading branch information
Hironsan committed Oct 12, 2022
1 parent da85945 commit c26eb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doccano_client/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def main():

# Create a parser for web server.
parser_predict = subparsers.add_parser("predict", help="see `predict -h`")
parser_predict.add_argument("--task", type=str, choices=["ner"], required=True, help="task name")
parser_predict.add_argument("--task", type=str, choices=["ner", "asr"], required=True, help="task name")
parser_predict.add_argument("--project", type=int, required=True, help="project id")
parser_predict.add_argument("--model", type=str, required=True, help="model path")
parser_predict.add_argument("--mapping", type=str, required=False, help="mapping file for label type")
Expand Down

0 comments on commit c26eb8e

Please sign in to comment.