conda create -n SenseVoiceSmall python=3.10
export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
conda activate SenseVoiceSmall
git clone https://github.com/FunAudioLLM/SenseVoice.git
cd SenseVoice
pip install -r requirements.txt
pip install gradio
To create a public link, set `share=True` in `launch()`.
demo.launch (server_name="0.0.0.0", share=True)
访问 http://192.168.1.93:7860/
报错:src/pyaudio/device_api.c:9:10: fatal error: portaudio.h: No such file or directory
sudo apt-get update
sudo apt-get install portaudio19-dev
参考:https://blog.csdn.net/engchina/article/details/140257420
参考:如何部署与使用SenseVoice语音大模型