From fff2974bb848b7a847558b6aec9c1cc5a03d405b Mon Sep 17 00:00:00 2001 From: Abraham Mathews <50496762+abrahammathews2000@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:22:35 +0530 Subject: [PATCH] Update xtts.py Edited typo: model = Xtts.init_from_config(config) --- 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 8e9d6bd382..fdf6eee6af 100644 --- a/TTS/tts/models/xtts.py +++ b/TTS/tts/models/xtts.py @@ -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) """