GithubHelp home page GithubHelp logo

lihuibng / ai-vtuber-chatglm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alicenavigator/ai-vtuber-chatglm

0.0 1.0 0.0 32.56 MB

本地部署chatglm生成并以语音回复你的bilibili直播弹幕 Use chatglm to generate and reply your bilibili live danmu with voice

License: MIT License

Python 100.00%

ai-vtuber-chatglm's Introduction

AI-Vtuber-chatglm

介绍

  • 本地部署chatglm-6b生成并以语音回复你的bilibili直播弹幕

  • Use chatglm-6b to generate and reply your bilibili live danmu with voice

  • 重写了整个代码,将接收弹幕,生成回复,生成语音,播放语音全部异步处理,在弹幕多的时候大幅降低响应延迟

  • 增加了记忆模式和扮演模式,可用命令行传参

运行环境

  • Python 3.10

此外你需要先按照ChatGLM-6B配置环境

使用

  1. 运行以下命令启动程序:
pip install -r requirements.txt
python main-async.py
  • 此外,现在已经支持一些可选参数如下

  • -m, --memory :启用记忆模式,默认会记住最新的4轮问答

  • -c, --count :指定记忆的轮数

  • -r, --role :启用扮演模式,会从根目录下的Role_setting.txt中读取设定并逐行写入

  • 示例:

python main-async.py -r -m -c 20

许可证

  • MIT许可证。详情请参阅LICENSE文件。

ai-vtuber-chatglm's People

Contributors

alicenavigator avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.