You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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", model_revision="v2.0.4",
vad_model="fsmn-vad", vad_model_revision="v2.0.4",
punc_model="ct-punc-c", punc_model_revision="v2.0.4",
spk_model="cam++", spk_model_revision="v2.0.2",
)
res = model.generate(input="./20240314-test.wav",
batch_size_s=300,
hotword='地铁站')
print(res)
The text was updated successfully, but these errors were encountered:
使用以下代码测试音频文件时,热词并未起到作用,不知道是使用方式问题还是模型对热词的支持效果偏弱?各位有正确使用热词的结果吗?
The text was updated successfully, but these errors were encountered: