mirror of https://github.com/coqui-ai/TTS.git
Fix artic_multispeaker formatter
This commit is contained in:
parent
a7d2e9b475
commit
61508bf336
|
@ -596,7 +596,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):
|
||||
|
|
Loading…
Reference in New Issue