fix for comments, test=tts

pull/2378/head
TianYuan 3 years ago
parent 578e57d2fa
commit d7bf6c0054

@ -37,7 +37,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
--task_name=edit \ --task_name=edit \
--wav_path=source/p243_313.wav \ --wav_path=source/p243_313.wav \
--old_str='For that reason cover should not be given' \ --old_str='For that reason cover should not be given' \
--new_str='For that reason cover is not impossible to be given.' \ --new_str='For that reason cover is not impossible to be given' \
--source_lang=en \ --source_lang=en \
--target_lang=en \ --target_lang=en \
--erniesat_config=${config_path} \ --erniesat_config=${config_path} \

@ -359,7 +359,8 @@ def parse_args():
parser.add_argument( parser.add_argument(
"--task_name", "--task_name",
type=str, type=str,
help="task name, should be in {'edit', 'synthesize'}") choices=['edit', 'synthesize'],
help="task name.")
parser.add_argument("--wav_path", type=str, help="path of old wav") parser.add_argument("--wav_path", type=str, help="path of old wav")
parser.add_argument("--old_str", type=str, help="old string") parser.add_argument("--old_str", type=str, help="old string")
parser.add_argument("--new_str", type=str, help="new string") parser.add_argument("--new_str", type=str, help="new string")

Loading…
Cancel
Save