From d3661d7d26f794f8a4ea814769d9db81fbd03510 Mon Sep 17 00:00:00 2001 From: Jindrich Matousek Date: Fri, 4 Aug 2023 13:54:51 +0200 Subject: [PATCH] Fix artic_multispeaker formatter --- TTS/tts/datasets/formatters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/tts/datasets/formatters.py b/TTS/tts/datasets/formatters.py index 4d5ee46a..68b27d61 100644 --- a/TTS/tts/datasets/formatters.py +++ b/TTS/tts/datasets/formatters.py @@ -641,7 +641,7 @@ def artic_multispeaker(root_path, meta_file, ignored_speakers=None): # pylint: d """ items = [] # Loop over speakers: speaker names are subdirs of `root_path` - for pth in glob(f"{root_path}/*", recursive=False): + for pth in glob(f"{root_path}/*/", recursive=False): speaker_name = os.path.basename(pth) # Ignore speakers if isinstance(ignored_speakers, list):