赞
踩
https://github.com/XzaiCloud/AI-Vtuber
QQ群:745682833
AI Vtuber是一个由ChatterBot驱动的虚拟主播,可以在Bilibili直播中与观众实时互动。它使用自然语言处理和文本转语音技术生成对观众问题的回答。
ai智能问答机器人
说下原理:
通过ChatterBot连接到b站直播间,然后获取弹幕
根据本地语料库判断出回答内容,然后使用mpv player 读出来
查看这个github的环境
pip install ChatterBot bilibili-api-python edge-tts
我在安装环境的时候遇到了这个报错
Installing build dependencies ... error
error: subprocess-exited-with-error
error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [314 lines of output]
按照下图进行解决
依赖报错解决办法
https://blog.csdn.net/yuan2019035055/article/details/128709594
注意提到的常见问题
提示缺少en-core-web-sm,打开终端输入
python -m spacy download en_core_web_sm
报错:no module named ‘spacy’解决办法
pip install spacy
安装好了
填写直播间号
打开电脑声音
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。