Update xtts.py

Edited typo: model = Xtts.init_from_config(config)
This commit is contained in:
Abraham Mathews 2024-07-02 16:22:35 +05:30 committed by GitHub
parent dbf1a08a0d
commit fff2974bb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,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)
"""