Comments (1)
Won't fix.
现在的文档是我之前随便写的,我没测试过,建议不要按照现在的安装了哈。我一会儿会更新新的文档。下面是新的安装方式(我还在测试),你可以先参考一下:
- 现在可以用 git submodule 一次性克隆整个项目了(大概),无需手动 clone 各个模块了:
git clone --recursive https://github.com/cdfmlr/muvtuber.git
# 前端统一使用 pnpm (珍爱硬盘,远离 npm)
pnpm config set auto-install-peers true -g
# python统一使用 pyenv + poetry
poetry config virtualenvs.prefer-active-python true
poetry config virtualenvs.in-project true # 只是个人的保守偏好
接下来编译运行各个模块,Docker 还不可用,需要手动做散装服务编排,可以预先开 7 个终端页,然后:
cd blivechat
# 编译前端
cd frontend
pnpm install
pnpm run build
cd ..
# 运行服务
pyenv local 3.9.16
poetry install
poetry run python main.py
# 服务运行在 http://localhost:12450,会自动在默认浏览器打开
cd emotext
pyenv local 3.10.10
poetry install
poetry run python emotext/httpapi.py --port 9003
# emotext server: http://localhost:9003
cd chatgpt_chatbot
pyenv local 3.10.10
poetry install
poetry run python chatgpt
# ChatGPTChatbot gRPC server: localhost:50052
cd musharing_chatbot
pyenv local 3.10.10
poetry install
poetry run python -m spacy download en_core_web_sm # 一个执行不到的依赖,但是不装跑不起来。
PYTHONPATH=$PYTHONPATH:. poetry run python musharing_chatbot
# MusharingChatbot gRPC server: localhost:50051
#git clone https://github.com/cdfmlr/live2ddriver.git
cd live2ddriver
go run . -shizuku localhost:9004 -verbose
# live2d shizuku driver: localhost:9004
# websocket message forwarder: localhost:9001 # 前端会连这个
# 不开发该模块也可以 build 出来再运行
#git clone https://github.com/cdfmlr/live2dview.git
cd live2dview
pnpm install
pnpm exec quasar dev
# 浏览器访问: 调试(戏)页: http://localhost:9000/#/debug
# 生产环境: OBS 添加浏览器源: http://localhost:9000/
# 如果不开发这个模块可以 build & serve:
pnpm exec quasar build
httpstatic -d dist/spa/ -l :9000 # 你的某种静态网页服务工具,如 python -m http.server,如果开发环境最好有宽松的 CROS。这里用的是 https://github.com/cdfmlr/tools/#httpstatic
#git https://github.com/cdfmlr/muvtuberdriver.git
cd muvtuberdriver
go run . -chatgpt_access_token='eyJ***99A' -chatgpt_prompt="请扮演一个正在直播的 vtuber,之后我的输入均为用户评论,用简短的一句话回答它们" -roomid 000000 -reduce_duration=2s
# chatgpt_access_token: 浏览器访问https://chat.openai.com/api/auth/session获取
# roomid 你的 b 站直播间 id,https://live.bilibili.com/000000?... 中的000000
# 不开发该模块也可以 build 出来再运行
from muvtuber.
Related Issues (20)
- API包从实现代码中独立出来,单独发行,方便新实现引用和更新。 HOT 6
- 迁移到 RaSan147/pixi-live2d-display?
- blivechat 接收弹幕失败 HOT 2
- 能使用oobabooga/text-generation-webui的api功能嗎? HOT 2
- 能在ChatterBot中加入注意力机制吗? HOT 10
- 大佬有考虑过externalsayer部分搭配本地部署sovits4.0以实现音色替换吗 HOT 2
- Twitch integration request HOT 6
- Cant get back audio TTS from Azure (audioview) HOT 12
- live2d motion flow question HOT 1
- 使用docker搭建后,没有音频输出 HOT 9
- Suggestion for filtering emoji on ChatGPT responses HOT 5
- 使用docker搭建后,没有音频输出 HOT 5
- 我在Mac上用shadow racket代理可以访问chatgpt,我应该怎么设置docker才能让docker走shadowracket代理访问chatgpt? HOT 47
- [muvtuberdriver] DeadlineExceeded HOT 3
- English README is outdated.
- docs: document the v0.4.0 lip-sync feature & its config
- fix: live2d motion & expression control based on emotion analysis HOT 1
- Supports any live2d model, without requirement to modify the source code.
- OBS没有声音 HOT 3
- 关于添加自定义TTS功能 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muvtuber.