v0.14.1
版本发布时间: 2023-06-05 17:30:45
coqui-ai/TTS最新发布版本:v0.22.0(2023-12-12 23:11:16)
What's Changed
- Fetch all built-in speakers from API by @reuben in https://github.com/coqui-ai/TTS/pull/2626
- fix typo by @vodiylik in https://github.com/coqui-ai/TTS/pull/2647
- Port Fairseq TTS models by @erogol in https://github.com/coqui-ai/TTS/pull/2628
New Contributors
- @vodiylik made their first contribution in https://github.com/coqui-ai/TTS/pull/2647
Full Changelog: https://github.com/coqui-ai/TTS/compare/v0.14.0...v0.14.1
Example text to speech using Fairseq models in ~1100 languages 🤯.
For these models use the following name format: tts_models/<lang-iso_code>/fairseq/vits
.
You can find the list of language ISO codes here and learn about the Fairseq models here.
from TTS.api import TTS
api = TTS(model_name="tts_models/eng/fairseq/vits", gpu=True)
api.tts_to_file("This is a test.", file_path="output.wav")
# TTS with on the fly voice conversion
api = TTS("tts_models/deu/fairseq/vits")
api.tts_with_vc_to_file(
"Wie sage ich auf Italienisch, dass ich dich liebe?",
speaker_wav="target/speaker.wav",
file_path="ouptut.wav"
)