From a7081b09c60952a2873d9bb7ea79e84e02619694 Mon Sep 17 00:00:00 2001 From: Abraham Mathews <50496762+abrahammathews2000@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:28:15 +0530 Subject: [PATCH] Update xtts.py Correcting a typo in the example given for the Xtts class, --- TTS/tts/models/xtts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/tts/models/xtts.py b/TTS/tts/models/xtts.py index fa320aacd0..8dda180a01 100644 --- a/TTS/tts/models/xtts.py +++ b/TTS/tts/models/xtts.py @@ -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) """