nladuo / live2d-chatbot-demo

A live2D chatbot Demo build with python and js.
57 stars 5 forks source link

Live2D Chatbot Demo

A live2D Chatbot Demo build with python and js.

使用说明

1. 安装依赖

见:requirements.txt

2. 配置ChatGPT

见:chatbot_demo.py

access_token = "浏览器访问https://chat.openai.com/api/auth/session获取"
conversation_id = "xxxxxxx-xxxx-xxxx-xxx-xxxxxxxxxxxx"

3. 启动前后端服务

python live2d_display_server.py

4. 启动ChatBot

python chatbot_demo.py

5. 打开浏览器

打开浏览器输入http://127.0.0.1:4800/ ,查看虚拟形象。

代码目录