Skip to content

Commit

Permalink
fix(xtts_manager): name_to_id() should return dict
Browse files Browse the repository at this point in the history
This is how the other embedding managers work
  • Loading branch information
eginhard committed Mar 8, 2024
1 parent 1aef5ff commit 309f39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/tts/layers/xtts/xtts_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 309f39a

Please sign in to comment.