Update pretrained.py

This commit is contained in:
Mingshuang Luo 2021-10-14 19:21:02 +08:00
parent 870d4d09ba
commit 9176da7574

View File

@ -57,22 +57,19 @@ def get_parser():
parser.add_argument( parser.add_argument(
"--words-file", "--words-file",
type=str, type=str,
help="Path to words.txt " help="Path to words.txt " "Used only when method is not ctc-decoding",
"Used only when method is not ctc-decoding",
) )
parser.add_argument( parser.add_argument(
"--HLG", "--HLG",
type=str, type=str,
help="Path to HLG.pt. " help="Path to HLG.pt. " "Used only when method is not ctc-decoding",
"Used only when method is not ctc-decoding",
) )
parser.add_argument( parser.add_argument(
"--bpe-model", "--bpe-model",
type=str, type=str,
help="Path to bpe.model. " help="Path to bpe.model. " "Used only when method is ctc-decoding.",
"Used only when method is ctc-decoding.",
) )
parser.add_argument( parser.add_argument(