Feat: HF whisper for transcribing (faster than faster-whisper)

This commit is contained in:
litagin02
2024-03-14 15:10:08 +09:00
parent 4f60a3d5d5
commit b1972a3d3d
4 changed files with 189 additions and 40 deletions

View File

@@ -1,6 +1,5 @@
import argparse
import shutil
import sys
from pathlib import Path
from queue import Queue
from threading import Thread
@@ -14,8 +13,6 @@ from tqdm import tqdm
from style_bert_vits2.logging import logger
from style_bert_vits2.utils.stdout_wrapper import SAFE_STDOUT
# TODO: 並列処理による高速化
def get_stamps(
vad_model: Any,