mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
config updates, update audio.py, update mailabs preprocessor
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
from glob import glob
|
||||
|
||||
|
||||
def tweb(root_path, meta_file):
|
||||
@@ -60,6 +61,8 @@ def mozilla(root_path, meta_file):
|
||||
|
||||
def mailabs(root_path, meta_files):
|
||||
"""Normalizes M-AI-Labs meta data files to TTS format"""
|
||||
if meta_files is None:
|
||||
meta_files = glob(root_path+"/**/metadata.csv", recursive=True)
|
||||
folders = [os.path.dirname(f.strip()) for f in meta_files]
|
||||
# meta_files = [f.strip() for f in meta_files.split(",")]
|
||||
items = []
|
||||
|
||||
Reference in New Issue
Block a user