Setted default param of skiplist to ''

fixing issue found in https://github.com/MozillaItalia/DeepSpeech-Italian-Model/pull/21
This commit is contained in:
mone27 2019-10-11 16:42:32 +02:00 committed by GitHub
parent 3d20350502
commit a867c919bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ def handle_args():
parser.add_argument(dest='target_dir')
parser.add_argument('--filter_alphabet', help='Exclude samples with characters not in provided alphabet')
parser.add_argument('--normalize', action='store_true', help='Converts diacritic characters to their base ones')
parser.add_argument('--skiplist', type=str, help='Directories / books to skip, comma separated')
parser.add_argument('--skiplist', type=str, default='', help='Directories / books to skip, comma separated')
parser.add_argument('--language', required=True, type=str, help='Dataset language to use')
return parser.parse_args()