diff --git a/TTS/tts/layers/xtts/xtts_manager.py b/TTS/tts/layers/xtts/xtts_manager.py index 5a28d2a8a6..5560e87687 100644 --- a/TTS/tts/layers/xtts/xtts_manager.py +++ b/TTS/tts/layers/xtts/xtts_manager.py @@ -7,7 +7,7 @@ def __init__(self, speaker_file_path=None): @property def name_to_id(self): - return self.speakers.keys() + return self.speakers @property def num_speakers(self):