|
1 mese fa | |
---|---|---|
other | 1 mese fa | |
.gitignore | 1 mese fa | |
00006-2706383244.png | 1 mese fa | |
README.md | 1 mese fa | |
ai_pic.py | 1 mese fa | |
chat_model.py | 1 mese fa | |
check_stat.py | 1 mese fa | |
config.py | 1 mese fa | |
key.example.json | 1 mese fa | |
main.py | 1 mese fa | |
maomao_api.json | 1 mese fa | |
msg_send_save.py | 1 mese fa | |
p2p.json | 1 mese fa | |
pic_read.py | 1 mese fa | |
requirements.txt | 1 mese fa | |
restart.py | 1 mese fa | |
special_date.py | 1 mese fa | |
v50.json | 1 mese fa | |
v50.png | 1 mese fa |
使用方法
安装依赖
pip install -r requirements.txt
准备你的key 前往groq和siliconflow获取对应的api_key
填入key.example.json中
{
"groq": "YOUR_GROQ_KEY",
"siliflow": "YOUR_SILIFLOW_KEY",
}
然后更改key.example.json为key.json
安装lloneBot插件在你的X64QQ上,并设置如下
监听接口:3000
上报消息接口:3100
链接https://github.com/LLOneBot/LLOneBot/releases
确保你安装好了你的comfyUI程序并启动在了本地的8188端口,如果你的comfyUI程序运行地址不在127.0.0.1:8188上,请在config.py中自己对源码url进行调整
"comfyUI_ip": "127.0.0.1:8188",
前往config.py中调整你所部署项目的位置
"file_path": "/home/gxx/qqbot",
启动
python main.py
启动服务状态检测
python check_stat.py