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