mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
Fix style
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user