From 309f39a45fd615fc86a78480953bfa6a071b69c8 Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Fri, 8 Mar 2024 14:47:00 +0100 Subject: [PATCH] fix(xtts_manager): name_to_id() should return dict This is how the other embedding managers work --- TTS/tts/layers/xtts/xtts_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):