Skip to content

Conversation

wuhongsheng
Copy link

@wuhongsheng wuhongsheng commented Aug 7, 2024

from funasr import AutoModel
import logging
logging.getLogger().setLevel(logging.INFO)
ser_kwargs = {"use_itn": False, "language":"zh", "batch_size":64, "model":"iic/SenseVoiceSmall"}

funasr_model = AutoModel(model="paraformer-zh", vad_model="fsmn-vad", punc_model="ct-punc", spk_model="cam++", ser_model="SenseVoiceSmall", ser_kwargs=ser_kwargs, disable_update=True)
input_audio ="/Users/whs/PycharmProjects/speakerLog/test.wav"
device ="cpu"
res = funasr_model.inference_with_vad(input_audio)
print(res)

image

@wuhongsheng wuhongsheng changed the title 说话人日志pipline增加情绪识别 feat:说话人日志pipline增加情绪识别 Aug 12, 2024
@wuhongsheng
Copy link
Author

@LauraGPT 大佬,麻烦看下怎么改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant