fix isort

This commit is contained in:
Fangjun Kuang 2024-10-29 10:41:09 +08:00
parent a531c92711
commit 0db831910a
4 changed files with 4 additions and 4 deletions

View File

@ -33,9 +33,9 @@ import argparse
import logging
from pathlib import Path
from compute_fbank_ljspeech import MyFbank
from lhotse import CutSet, load_manifest_lazy
from lhotse.dataset.speech_synthesis import validate_for_tts
from compute_fbank_ljspeech import MyFbank
def get_args():

View File

@ -2,7 +2,6 @@
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/__init__.py
import numpy as np
import torch
from matcha.monotonic_align.core import maximum_path_c

View File

@ -1,8 +1,9 @@
# Copied from
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
from distutils.core import setup
from Cython.Build import cythonize
import numpy
from Cython.Build import cythonize
setup(
name="monotonic_align",

View File

@ -24,8 +24,8 @@ from pathlib import Path
from typing import Any, Dict, Optional
import torch
from lhotse import CutSet, load_manifest_lazy
from compute_fbank_ljspeech import MyFbank, MyFbankConfig
from lhotse import CutSet, load_manifest_lazy
from lhotse.dataset import ( # noqa F401 for PrecomputedFeatures
CutConcatenate,
CutMix,