Fix style

This commit is contained in:
Eren Gölge 2021-11-04 17:04:40 +01:00
parent d227aaebcc
commit faafea4cf2
3 changed files with 5 additions and 3 deletions

View File

@ -143,7 +143,7 @@ class FastSpeechConfig(BaseTTSConfig):
r: int = 1 # DO NOT CHANGE
# dataset configs
compute_f0: bool = False
compute_f0: bool = False
f0_cache_path: str = None
# testing

View File

@ -91,6 +91,8 @@ def load_tts_samples(
for idx, ins in enumerate(meta_data_eval_all):
attn_file = meta_data[ins[1]].strip()
meta_data_eval_all[idx].append(attn_file)
# set none for the next iter
formatter = None
return meta_data_train_all, meta_data_eval_all

View File

@ -61,9 +61,9 @@ def mozilla_de(root_path, meta_file):
def mailabs(root_path, meta_files=None):
"""Normalizes M-AI-Labs meta data files to TTS format
Args:
root_path (str): root folder of the MAILAB language folder.
root_path (str): root folder of the MAILAB language folder.
meta_files (str): list of meta files to be used in the training. If None, finds all the csv files
recursively. Defaults to None
"""