ybbwcwaps
some FakeVD
b0c0f32
raw
history blame contribute delete
421 Bytes
from funasr import AutoModel
# paraformer-zh is a multi-functional asr model
# use vad, punc, spk or not as you need
model = AutoModel(model="paraformer-zh", vad_model="fsmn-vad", punc_model="ct-punc",
# spk_model="cam++"
)
res = model.generate(input="/mnt/data10t/dazuoye/GROUP2024-GEN6/FakeSV/dataset/1.wav",
batch_size_s=300,
hotword='魔搭')
print(res)