modelscope-funasr这个问题怎么解决?我用示例代码跑出来的时间和文本是两段没法对应,如果把timestamp和text对应,哪位知道吗?from funasr import AutoModelmodel = AutoModel(model="paraformer-zh", vad_model="fsmn-vad", vad_kwargs={"max_single_segment_time": 60000}, punc_model="ct-punc", device="cuda" # spk_model="cam++" )wav_file = f"t.wav"res = model.generate(input=wav_file, batch_size_s=300, batch_size_threshold_s=60, hotword='魔搭')print(res)
参考更多参考例子:https://github.com/alibaba-damo-academy/FunASR/tree/main/examples 此回答整理自钉群“modelscope-funasr社区交流”