add needs_phonemizer field to models.json. If set true these models

are only compatible with v0.0.13 or below.
This commit is contained in:
Eren Gölge
2021-05-18 17:57:28 +02:00
parent a14fcf2a13
commit ccfaa6b1d5
4 changed files with 44 additions and 28 deletions
+15 -15
View File
@@ -10,19 +10,19 @@ def test_synthesize():
# single speaker model
run_cli(f'tts --text "This is an example." --out_path "{output_path}"')
run_cli(
"tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
f'--text "This is an example." --out_path "{output_path}"'
)
run_cli(
"tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
"--vocoder_name vocoder_models/en/ljspeech/multiband-melgan "
f'--text "This is an example." --out_path "{output_path}"'
)
# run_cli(
# "tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
# f'--text "This is an example." --out_path "{output_path}"'
# )
# run_cli(
# "tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
# "--vocoder_name vocoder_models/en/ljspeech/multiband-melgan "
# f'--text "This is an example." --out_path "{output_path}"'
# )
# multi-speaker model
run_cli("tts --model_name tts_models/en/vctk/sc-glow-tts --list_speaker_idxs")
run_cli(
f'tts --model_name tts_models/en/vctk/sc-glow-tts --speaker_idx "p304" '
f'--text "This is an example." --out_path "{output_path}"'
)
# # multi-speaker model
# run_cli("tts --model_name tts_models/en/vctk/sc-glow-tts --list_speaker_idxs")
# run_cli(
# f'tts --model_name tts_models/en/vctk/sc-glow-tts --speaker_idx "p304" '
# f'--text "This is an example." --out_path "{output_path}"'
# )