Update xtts.py (#53)

docs(xtts): fix typo in example
This commit is contained in:
Abraham Mathews 2024-07-02 17:13:52 +05:30 committed by GitHub
parent c1a929b720
commit 6ea3b75b84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class Xtts(BaseTTS):
>>> from TTS.tts.configs.xtts_config import XttsConfig
>>> from TTS.tts.models.xtts import Xtts
>>> config = XttsConfig()
>>> model = Xtts.inif_from_config(config)
>>> model = Xtts.init_from_config(config)
>>> model.load_checkpoint(config, checkpoint_dir="paths/to/models_dir/", eval=True)
"""