mirror of https://github.com/coqui-ai/TTS.git
Make style
This commit is contained in:
parent
537dc0e933
commit
5a9bda13f3
|
@ -4,15 +4,14 @@ import multiprocessing
|
|||
import os
|
||||
import pathlib
|
||||
|
||||
import torch
|
||||
from tqdm import tqdm
|
||||
|
||||
from TTS.utils.vad import get_vad_model_and_utils, remove_silence
|
||||
|
||||
import torch
|
||||
torch.set_num_threads(1)
|
||||
|
||||
|
||||
|
||||
def adjust_path_and_remove_silence(audio_path):
|
||||
output_path = audio_path.replace(os.path.join(args.input_dir, ""), os.path.join(args.output_dir, ""))
|
||||
# ignore if the file exists
|
||||
|
|
Loading…
Reference in New Issue